Filtering with not(...) in PluginTrackerList no longer works if field to be filtered is a link item.
- Status
- Open
- Subject
- Filtering with not(...) in PluginTrackerList no longer works if field to be filtered is a link item.
- Version
- 12.x Regression
- Category
- Regression
- Feature
- Trackers
- Resolution status
- New
- Submitted by
- Olaf-Michael Stefanov
- Lastmod by
- Olaf-Michael Stefanov
- Rating
- Description
Using plugin TrackerList to filter records, if a negative filter is desired, it fails, if the field being selected on is an "item link" field, while it works if the field is a regular text field.
See: http://omstefanov-10438-5580.show.tikiwiki.org/
(where I had to reset the pswd for user=admin to the value "12345")Two pages exist:
Demo 1, accesses TrackerId=1, and shows a text field, fieldId=2, containing names of cities, and one of the values is "Washington, DC". Here both:
trackerId=1,filterfield=2,exactvalue="Washington, DC"
and:
trackerId=1,filterfield=2,exactvalue="not(Washington, DC)".
work.Demo 2, accesses trackerId=3, filterfield=6, and also contains the same set of city names, except that the field is defined as an "item link" to trackerId=2. This time, while positive filtering works:
trackerId=3,filterfield=6,exactvalue="Washington, DC" and
trackerId=3,filterfield=6,exactvalue="Ottawa"
negative filtering "not(...)" does not work. Both these cases result in no records found:
trackerId=3,filterfield=6,exactvalue="not(Washington, DC)" and
trackerId=3,filterfield=6,exactvalue="not(Ottawa)".Originally I thought it had something to do with the comma in the value, as in my production system negative filtering on another field was working, but that was because the other field was not an "item link" field.
This form of selection worked/works in tiki 6.15 and earlier versions.
This regression is hindering upgrade of the meanwhile almost 7 year old JIAMCATT site, with 1001 users, from tiki 6.16 to tiki 12.
- Importance
- 8
- Priority
- 40
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 5580
- Created
- Thursday 05 March, 2015 13:59:18 UTC
by Olaf-Michael Stefanov - LastModif
- Thursday 05 March, 2015 15:37:02 UTC