Describe the bug
A filter for "Tag contains" actually does a sql query using "Tag.Id" LIKE '%2%' which results in all tags that have that number in their Id.
In this example, entries containing the tag with an Id of 2 is the desired result, but all tags with Ids of 2, 12, 20, 21, etc are returned.
Describe Your Environment
Describe the bug A filter for "Tag contains" actually does a sql query using "Tag.Id" LIKE '%2%' which results in all tags that have that number in their Id. In this example, entries containing the tag with an Id of 2 is the desired result, but all tags with Ids of 2, 12, 20, 21, etc are returned.
Here's the line of code that is using the Id instead of the Name: https://github.com/ZoneMinder/zoneminder/blob/d51fb62e266fd0f934a40cfc1dade1fc58bb6bd6/scripts/ZoneMinder/lib/ZoneMinder/Filter.pm#L168
To Reproduce Steps to reproduce the behavior:
Expected behavior Only events containing the searched tag should be returned.