zoneminder icon indicating copy to clipboard operation
zoneminder copied to clipboard

web interface not saving sort order of events

Open robot468 opened this issue 2 years ago • 4 comments

When i change sort order in event list (index.php?view=events), sorting order not saved in cooke. Cookie value always contains only "sort_asc%5D=1". Sort order always ascending when i open events view. version 1.36.33 on FreeBSD. with version 1.36.12 sorting works fine

robot468 avatar Apr 11 '23 15:04 robot468

Thanks for opening your first issue here! Just a reminder, this forum is for Bug Reports only. Be sure to follow the issue template!

welcome[bot] avatar Apr 11 '23 15:04 welcome[bot]

This is likely caused by https://github.com/ZoneMinder/zoneminder/commit/8370ae6c82dfb75aa597a0e77aa883e92246c5f9 Try changing data-cookie-id-table="zmEventsTable<?php echo $filterQuery?>" to data-cookie-id-table="zmEventsTable" in web/skins/classic/views/events.php

Simpler1 avatar May 12 '23 16:05 Simpler1

same here, filter param ASC/DESC (for background working) not being saved to database.

found only way to fix it, directly update filter record in mysql

towingie avatar Aug 03 '24 09:08 towingie