Ticket #68 (closed defect: fixed)
"order by" with datedesc should not use positional arguments in SQL
| Reported by: | julien | Owned by: | mbonetti |
|---|---|---|---|
| Priority: | normal | Milestone: | Gregarius 0.4.4 |
| Component: | BUGS | Version: | 2.0 |
| Severity: | minor | Keywords: | |
| Cc: |
Description
There're two problems in the way the "rss.config.datedesc" config value is handled in the cls/items.php file. First, it uses positional arguments in the order by clause to access the "ts" column, which will prove to be difficult to maintain in further evolutions. Second, in one occasion it uses the "ts" column and on another occasion it uses the column "i.added".
I will attach a patch that corrects both problems.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
