Page 1 of 1

Invalid sort field: MonitorName

Posted: Mon Nov 14, 2022 4:24 pm
by OldTImer37
Hi all I just reinstalled zoneminder and I am working on getting and bugs fixed. I had a hdd fail :(

I recently got these two errors:

11/14/22, 8:19:30 AM PST web_php 2720 ERR Invalid sort field: MonitorName /usr/share/zoneminder/www/ajax/events.php 181
11/14/22, 8:19:18 AM PST web_php 2721 ERR Invalid sort field: MonitorName /usr/share/zoneminder/www/ajax/events.php 181

Currently I am only in Monitor on None mode for all cameras.

Re: Invalid sort field: MonitorName

Posted: Mon Nov 14, 2022 5:36 pm
by iconnor
So that's a legitimate bug... Older code uses MonitorName, the newer ajax bootstrap-table code uses "Monitor".

I can push a fix for 1.36.32, but for now, select something else in Options -> Web -> WEB_EVENT_SORT_FIELD

Re: Invalid sort field: MonitorName

Posted: Mon Nov 14, 2022 5:59 pm
by OldTImer37
Thanks for the quick reply.

I switched it to Name.