I need to be able to sort by "Reviewed" on the "My reviews" page. Right now it only allows sorting on Title and Submitted columns.
Thank you!
Ceci
| Comment | File | Size | Author |
|---|---|---|---|
| sortByReviewed.jpg | 33.2 KB | ceci123 |
I need to be able to sort by "Reviewed" on the "My reviews" page. Right now it only allows sorting on Title and Submitted columns.
Thank you!
Ceci
| Comment | File | Size | Author |
|---|---|---|---|
| sortByReviewed.jpg | 33.2 KB | ceci123 |
Comments
Comment #1
ceci123 commentedAfter looking into the conference.module file I found this code and added this line to it:
array('data' => t('Reviewed' ), 'field' => 'Reviewed' , 'sort' => 'asc'),but is causing this error:user warning: Unknown column 'Reviewed' in 'order clause' query: SELECT * FROM conference c LEFT JOIN node n ON c.pnid = n.nid WHERE c.ruid = 21 ORDER BY Reviewed ASC LIMIT 0, 10 in /var/www/html/conference_search/sites/all/modules/conference/conference.module on line 1403.
Obviously its looking for the "Reviewed" column but don't know where to add it.
Here is the CODE:
Thank you for your help.
Ceci