fts extension is missing negation support

Bug #614282 reported by Markus Korn
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zeitgeist Extensions
Fix Released
Wishlist
Unassigned

Bug Description

As reported by Michal on irc today, the fts extension is missing negation support, it would be nice if we could add negation in queries.

Markus Korn (thekorn)
affects: zeitgeist-dataproviders → zeitgeist-extensions
Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

Technically this should not be too hard, but there may be a few devils in the details. It really boils down to the following change in the template compilation code:

 * If a template string starts with "!" replace that ! with a minus, "-".

Changed in zeitgeist-extensions:
status: New → Confirmed
Revision history for this message
Michal Hruby (mhr3) wrote :

Oh dear, I didn't read your comment here Mikkel, but I already have a patch which does it using NOT, here it is:

Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

Thanks Michal, patch merged!

Changed in zeitgeist-extensions:
status: Confirmed → Fix Committed
Changed in zeitgeist-extensions:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.