News:

Looking for a good read? Check out the SimpleDesk Team Blog.

Main Menu

Topic solved
This topic is marked as solved and as such require no attention unless you want to bump this issue.

[Fixed] Complete log first page shows everything

Started by tfs, September 08, 2011, 11:00:13 PM

Previous topic - Next topic

tfs

2.0 - When going to the full action log (All tickets), the entire log is shown.  Even though there's 70 pages of logs... page 1 shows the whole log.  Page 2+ shows the proper values, but page 1 shows the whole thing.
A good tree cannot bring forth evil fruit, neither can an evil tree bring forth good fruit.

[SiNaN]

Subs-SimpleDeskAdmin.php

Code (Find) Select
' . ($start != 0 ? 'LIMIT {int:start}, {int:items_per_page}' : ''),

Code (Replace) Select
' . ($items_per_page != 0 ? 'LIMIT {int:start}, {int:items_per_page}' : ''),

Then you need to change the the second parameter to 0 where you want the full log to be displayed (ie. profile, ticket view).