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.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
Unable to connect to show.tikiwiki.org. Please let us know of the problem so that we can do something about it. Thanks.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |