ext-solr icon indicating copy to clipboard operation
ext-solr copied to clipboard

[TASK] Allow using complex filter values introduced by round brackets

Open lgescobar opened this issue 7 years ago • 2 comments

By not escaping filter values starting with double quotes you can define complex filter conditions also in request parameters.

I needed this function for a project and thought it could be useful for anybody else.

This is a very naive approach and I don't know if the filter values have to be checked or escaped again.

lgescobar avatar Jan 31 '18 09:01 lgescobar

@lgescobar Thanks for the pr. I think we should add a testcase for that and also merge it into master to have it available in latest versions as well. Could you proceed on that?

timohund avatar Feb 23 '18 10:02 timohund

I'll give it a try!

lgescobar avatar Feb 23 '18 11:02 lgescobar

I think it's a good idea, you have to add code also in the ConfigurationService to allow complex clause on flexForm filters (the method is "getFilterFromFlexForm".

In fact I need to use "OR" clause on the pid to simulate the "storagePid" behaviour.

echavaillaz avatar May 24 '23 08:05 echavaillaz

@echavaillaz @lgescobar This pull request is outdated, the sources are changed, so the rebase or cherry-pick are not possible. Could you please provide the new implementation for main branch?

I'll close this pull request in favor of new issue: #3643

dkd-kaehm avatar May 24 '23 10:05 dkd-kaehm