Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorting by 'From' creates errro #9

Open
rbonatuvic opened this issue Feb 17, 2015 · 1 comment
Open

Sorting by 'From' creates errro #9

rbonatuvic opened this issue Feb 17, 2015 · 1 comment

Comments

@rbonatuvic
Copy link

When sorting by 'From' field, a 'Data error.' is thrown.
This text is placed between the column headers and the message headers table.
The messages are not sorted.

@rbonatuvic
Copy link
Author

The firstname and lastname fields need to be added to the select statement.
Line 210 of block_jmail_mailbox.class.php is:

$select = "SELECT DISTINCT(m.id), m.courseid, m.subject, m.timesent, m.timecreated, m.sender, m.approved";

but should be:

$select = "SELECT DISTINCT(m.id), m.courseid, m.subject, m.timesent, m.timecreated, m.sender, m.approved, u.firstname, u.lastname";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant