Hi all, I'm experiencing issues using the search function from the AttachmentManager class. Currently I'm doing something like this:
item = gis.content.get(item_id)
fl = item.layers[0]
result = fl.attachments.search(where="1=1", attachment_where="ATT_NAME LIKE '%foto2_241023075432%'")
print(f"Attachments found: {len(result)}")
When I perform this query like this, the result is all 31684 attachments, so the attachment_where parameter is being ignored.
I performed the same query using the REST API, and it correctly returns the single attachment that matches my criteria.

My organization is using ArcGIS Enterprise 11.3, and I myself am using the gis api for python 2.4.0 (the one that comes preinstalled with arcgis pro. Currently using ArcGIS Pro 3.4.0)