1.8 API - Tags, Need Equals instead of Like

We have some tags that we apply to each media item. One of then is something like clientID_XX, but we also have some with client ID_XXX.

For example “clientID_12”

and “clientID_128”

The trouble we are running into is if we try to search for “clientID_12” we also get the tags that contain “clientID_12X” or “clientID_12XX” or “clientID_12XXX” and so on.

Is there a way to get only what matches one of the tags exactly?

Could the code be changed to search like this?

I dont see how we can do this without a new filter option for “exactTags” which does an = search rather than a LIKE search.

The current LIKE search puts a % at the start/end of each tag in the search string, which explains the results you’re seeing.