Invalid sort field: MonitorName

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
OldTImer37
Posts: 11
Joined: Tue Mar 10, 2020 12:20 am

Invalid sort field: MonitorName

Post 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.
User avatar
iconnor
Posts: 2904
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Invalid sort field: MonitorName

Post 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
OldTImer37
Posts: 11
Joined: Tue Mar 10, 2020 12:20 am

Re: Invalid sort field: MonitorName

Post by OldTImer37 »

Thanks for the quick reply.

I switched it to Name.
Post Reply