zoneminder
zoneminder copied to clipboard
web interface not saving sort order of events
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
Thanks for opening your first issue here! Just a reminder, this forum is for Bug Reports only. Be sure to follow the issue template!
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
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