Loading...
 
Skip to main content

Trackerlist filter doesn't work anymore if the filtered value is also the default value of a dropdown tracker field

Status
Closed
Subject
Trackerlist filter doesn't work anymore if the filtered value is also the default value of a dropdown tracker field
Version
21.x Regression
Category
  • Error
  • Regression
  • Usability
Feature
Trackers
Wiki Plugin (extends basic syntax)
Resolution status
Rejected
Submitted by
Bernard Sfez / Tiki Specialist
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

On Tiki (tested on tiki21.4), in a tracker you can set a dropdown tracker field with a default value by setting twice the same value and you can set the label for the values: https://doc.tiki.org/Drop-Down---Radio-Tracker-FieldQuestion

IE in the "Option" for the field (3 in our exemple):
NO=Nouveau,NO=Nouveau,PE=En Attente,CL=Ferme

This is working fine.

On a wiki page you can use then a tracker list plugin to list the item like:

Work
Copy to clipboard
{trackerlist trackerId="1" fields="1:2:3" filterfield="3" exactvalue="PE"}

This will work.

However if you try to filter using the default dropdown value it won't work anymore (was working on Tiki18)

Doesn't work
Copy to clipboard
{trackerlist trackerId="1" fields="1:2:3" filterfield="3" exactvalue="NO"}


This is a regression on Tiki21.4
Work on Tiki23

Importance
7
Easy to solve?
8
Priority
56
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7853
Created
Saturday 02 October, 2021 07:16:21 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Saturday 02 October, 2021 10:21:40 UTC


Show PHP error messages