Page 1 of 1

Ascending / Descending - Next / Previous

Posted: Sat Oct 21, 2006 1:45 am
by BarryH
Hello,

I've noticed that if I switch the ZM_WEB_EVENT_SORT_ORDER to Descending, to place the newest events on top, the Next and Previous buttons on the Events web page are incorrect. Next acts like previous and vice versa.

Can someone make the Next and Previous buttons aware of the ZM_WEB_EVENT_SORT_ORDER variable??

Thanks,

Barry

Posted: Mon Oct 23, 2006 3:11 pm
by zoneminder
I have just tried this and it works for me. From the help for that option
Events in lists can be initially ordered in any way you want. This option controls what order (ascending or descending) is used to sort them. You can modify this ordering from filters or by clicking on headings in the lists themselves. Bear in mind however that the 'Prev' and 'Next' links, when scrolling through events, relate to the ordering in the lists and so not always to time based ordering.
Are you saying that the Next and Prev buttons do not reverse their sense when the ordering changes?

Posted: Mon Oct 23, 2006 3:21 pm
by BarryH
zoneminder wrote:I have just tried this and it works for me. From the help for that option
Events in lists can be initially ordered in any way you want. This option controls what order (ascending or descending) is used to sort them. You can modify this ordering from filters or by clicking on headings in the lists themselves. Bear in mind however that the 'Prev' and 'Next' links, when scrolling through events, relate to the ordering in the lists and so not always to time based ordering.
Are you saying that the Next and Prev buttons do not reverse their sense when the ordering changes?
No, I was pointing out the fact that the Next and Previous no longer correlate with the time of day of the events. From the quote you supplied, it looks as if this is normal behavior. Next and Previous just move up or down the list.

Thanks,

Barry