Loading...
 
Skip to main content

15.x: Tracker: filter items is broken when value=label set (Radio, Dropdowns, ...) + plugin trackerfilter

Status
Open
Subject
15.x: Tracker: filter items is broken when value=label set (Radio, Dropdowns, ...) + plugin trackerfilter
Version
12.x
14.x
15.x
Category
  • Conflict of two features (each works well independently)
  • Error
  • Less than 30-minutes fix
Feature
Edit interface (UI)
Trackers
Resolution status
Partially solved
Submitted by
Xavier de Pedro
Lastmod by
Xavier de Pedro
Rating
(0)
Description

12.x - 15.x: Tracker: filter items is broken when radio button with labels set (0=No,1=Yes,2=Dunno).

No matches are found when there are some items which met the intended criteria.

It'll be reproduced in an attached intance in short. Stay tuned! 😊
Login in here:
http://xavi-9794-5810.show.tikiwiki.org/tiki-view_tracker.php?trackerId=1
u: admin
p: 12345

You will see the field TestRaduio, with some values (0, 1 and 2; their labels, in fact)

Try to filter by that field:
http://xavi-9794-5810.show.tikiwiki.org/tiki-view_tracker.php?trackerId=1&status=o&sort_mode=f__asc&filterfield=8&filtervalue%5B1%5D=&filtervalue%5B2%5D=&filtervalue_other=&filtervalue%5B3%5D=5+%28high%29&filtervalue%5B8%5D=0%3DNo&filter=Filter#


Update:
the problem is also found (and still unsolved) at teh trackerfilter level. Sorry, I tried for one hour, but I couldn't get the right syntax to port this type of fix there also. 😕
To reproduce, see it here:
http://xavi-9794-5810.show.tikiwiki.org/tiki-index.php?page=HomePage

The issue is reproduced also for dropdown fields when labels are set, etc. See it reproduced with field "Priority" (Dropdown).

Reproduced also with "Dropdown with other" (field Location) in the tracker itself, but it works as expceted through Plugin TrackerFilter.
Does work:
http://xavi-9794-5810.show.tikiwiki.org/tiki-index.php?page=HomePage

Doesn't work:
http://xavi-9794-5810.show.tikiwiki.org/tiki-view_tracker.php?trackerId=1&status=o&sort_mode=f__asc&filterfield=2&filtervalue%5B1%5D=&filtervalue%5B2%5D=0%3Droom+1.1+%2855+seats%29&filtervalue_other=&filtervalue%5B3%5D=5%3Dhighest&filtervalue%5B9%5D=y&filtervalue%5B10%5D%5B%5D=1&filter=Filter#

Multiselect seems to work well, as expected, in both tracker itself and plugin trackerfilter.

Solution

please check r57487


Thanks gezza. Confirmed it's fixed (& backported to 14.x in r57493, and to 12.x in r57494).


please check r57500 for dropdowns on the tracker list form


Confirmed the issue of dropdowns in tracker list form is fixed. Thanks. For the record: Only pending, equivalent issues at the trackerfilter plugin

Importance
6
Easy to solve?
6
Priority
36
Demonstrate Bug on Tiki 19+
Please demonstrate your bug on show2.tiki.org
Demonstrate Bug (older Tiki versions)
 Show.tiki.org is currently unavailable

Unable to connect to show.tikiwiki.org. Please let us know of the problem so that we can do something about it. Thanks.

Ticket ID
5810
Created
Tuesday 09 February, 2016 12:11:27 GMT-0000
by Xavier de Pedro
LastModif
Wednesday 10 February, 2016 22:08:54 GMT-0000