Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make parsedquery customizable #18

Merged
merged 16 commits into from Apr 3, 2014
Merged

Make parsedquery customizable #18

merged 16 commits into from Apr 3, 2014

Conversation

keul
Copy link
Member

@keul keul commented Nov 1, 2013

This pull request is quite complex, so before looking at the code there's something to explain.

First of all: the actual plone.app.querystring seems a lot complex if compared to old collections.
The idea that forced me to branch is about creating a new collection criteria that is not strictly related to an existing catalog index. This is totally unsupported right now by collections and p.a.querystring.

So: this branch will make possible to define one or more "parsed query index modifiers" by defining named utilities.
Those utilities can:

  • modify the query
  • modify the used index

Apart my final motivation (look at https://github.com/keul/collective.typecriterion) this change make possible to translate the fix for Subject index that now live in p.a.querystring code (that is quite ugly) to something more clean (the Subject index modifier is part of the branch).

@jensens
Copy link
Sponsor Member

jensens commented Apr 1, 2014

This one is really useful. Can you please merge master so its able to merge?

@keul
Copy link
Member Author

keul commented Apr 2, 2014

@jensens Done!

@keul
Copy link
Member Author

keul commented Apr 3, 2014

Any news? I'd really like to see this merged, this stuff will also simplify some solr/collective.solr integration we have :)

@jensens jensens merged commit 94e4706 into plone:master Apr 3, 2014
@davisagli
Copy link
Sponsor Member

🍻

@jensens
Copy link
Sponsor Member

jensens commented Apr 3, 2014

so its used in 4.3 too. lets see. difficult to hold all ends in the hand. sigh.

@keul
Copy link
Member Author

keul commented Apr 4, 2014

Honestly I don't always understand the mr.roboto/jenkins reports. There are problems with the new code?

@tisto
Copy link
Sponsor Member

tisto commented Apr 4, 2014

@keul Sorry. Those KGS jobs should have been removed long time ago since they almost always somehow fail. Unfortunately @bloodbare is really busy these days and he is currently the only person who can remove those misleading reports.

@keul keul deleted the expandible-parsedquery branch April 6, 2014 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants