There is a OR part with "attr1 like %%", etc.
Created attachment 134250 [details] [review] Bug 30643: Remove useless OR part from query generated by DT REST API wrapper To test: Don't apply this patch Search for patrons on the main patron search Notice the {"me.firstname":{"like":"%%"}}, etc. Apply this patch and confirm that the query is now correctly formed
Is this really useless? Patron attributes should be searched by default in the standard search to have no regression.
This has actually been introduced by bug 30626 that is not pushed yet. Fixed on a follow-up there: Bug 30626: Don't generate the query if no term passed *** This bug has been marked as a duplicate of bug 30626 ***