#1609 Tracker-Sorting by Column throws error

v1.8.4
closed-duplicate
nobody
5
2004-08-16
2004-08-13
Lindsay
No

In both 1.8.3 and 1.8.4, the Column Sort feature in the
Trackers thows an error, and the page doesn't load.
The error is:

PHP Warning: mysql error: Unknown column '' in 'order
clause' in query:
select * from `tiki_tracker_items` where `trackerId`=?
order by `` desc
in /tikiwiki/lib/tikidblib.php on line 133

PHP Fatal error: Call to a member function on a
non-object in /tikiwiki/lib/tikidblib.php on line 151

This only happens to custom columns, and sorting by
lastModif or other built in columns works fine.

Discussion

  • Lindsay
    Lindsay
    2004-08-13

    • labels: 544454 --> 544449
    • milestone: --> 406228
     
  • Lindsay
    Lindsay
    2004-08-13

    • labels: 544449 --> Database Error
     
    • milestone: 406228 --> v1.8.4
    • status: open --> closed-duplicate