BUG - Delete and next or prev not working correctly

Support and queries relating to all previous versions of ZoneMinder
Locked
ajpalm
Posts: 60
Joined: Thu Aug 28, 2003 1:02 pm

BUG - Delete and next or prev not working correctly

Post by ajpalm »

While reviewing some items recorded today, I've noticed the following.

I have two cameras setup, running 1.18.1

While viewing cam1 daily events (ie click on the 34 number under the 'day' coloum), I click on a item and it displays corrcetly, I click on the Delete and Next link at the bottom and it deletes the item and moves to the next item. The next one is displayed, but the links for delete and next (or prev) are missing, even though there are more events to show. One would think they should stay there?

The other bug with the delete and next is, that I click on the cam1 events for the day, and it shows the events recorded for the day say

Event 33 - Cam1
Event 35 - Cam1

I click on Event 33, and view it. I then click on Delete and next, but it shows me Event 34, which is from the Cam2 section, not the Cam1 events section that I was viewing. Is this is bug or meant to be that way?

ie events are

Event 33 - Cam1
Event 34 - Cam2
Event 35 - Cam1

If viewing Cam1 events for the day, and click on Event 33, and go delete and next, I would assume its going to goto Event 35, as I'm filtering cam1 events for the day, not all events. Currently its going to Event 34, which is incorrect to me.

Hope this helps to improve the software. If I can help on any of the three bugs I just posted, let me know.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: BUG - Delete and next or prev not working correctly

Post by zoneminder »

Hi Andrew (again!),

This is fixed in 1.19.0, in fact it's revampd completed and 'next' and 'prev' will always take you to the event listed before or after it in the view you selected the event from. So if you have events sorted by duration and click on the first one, the 'next' link will take you to the second in the list etc. One consequence of this is that there was an implicit linkage of next and prev to 'the event after/before chronologically' which is now incorrect. As the default view of events is reverse sorted by time you need to click 'prev' to get to the next one in time as that will be the one before it in the list. I'm not sure if (a) I made this very clear or (b) it's a good idea.

Phil,
ajpalm
Posts: 60
Joined: Thu Aug 28, 2003 1:02 pm

Re: BUG - Delete and next or prev not working correctly

Post by ajpalm »

Thanks for the quick reply Phil, I'll keep my eye out for the 1.19.0 release of the software....
Locked