Page 1 of 1
view event window - next and prev are reversed
Posted: Tue Mar 23, 2004 1:46 am
by rdmelin
Hi Philip,
I noticed stepping though events with next and prev gets opposite resuls of what is expected. Version 1.19.1 from Sunday.
Best regards,
Ross
Re: view event window - next and prev are reversed
Posted: Tue Mar 23, 2004 11:30 am
by zoneminder
Hi Ross,
This is mentioned in the README
<i>Event List Ordering and Scrolling. It was previously the case that the ‘Next’ and ‘Prev’ buttons on the event view did not always go to the event that was expected and sometimes disappeared altogether. This behaviour has now been modified and these buttons will now take you to the next and previous events in the list which the event was selected from. Thus if the list was sorted on ascending scores then the ‘next’ event is the one below which has a higher score etc. A possibly counterintuitive side effect of this is that as the default list is sorted by descending time the ‘next’ event is the one below in the list which will actually be earlier and the ‘previous’ event is later. So long as you remember that next and prev refer to the order of the list you should be ok.</i>
It can be a bit confusing but I was getting a lot of mails from people saying that Next and Prev only went to the next and previous in time and not in the event list order. Now at least it's consistent and whichever way you sort the list is the way you get you events.
Phil,