Loading...
 
Skip to main content

The wishlist status selector provoke a bug if you remove the initial "open" status and leave it empty

Status
Closed
Subject
The wishlist status selector provoke a bug if you remove the initial "open" status and leave it empty
Version
29.x
Regression from 28.x to 29.x
Category
  • Error
  • Regression
  • Easy for Newbie Dev
Feature
Search
Trackers
Resolution status
New
Submitted by
Bernard Sfez / Tiki Specialist
Lastmod by
Ushindi Gedeon
Rating
(0)
Description

At https://dev.tiki.org/Wishlist the customsearch displays a status selector.
If you remove the default "open" status it will provoke a logical error as the "empty" or "no-status" option doesn't exist. It shouldn't happen.

UPDATE: I posted a workaround, not sure it is a real solution

Solution
Workaround

I checked https://dev.tiki.org/Wishlist-Search-Page-Tpl
They were no option for an empty selection.

It was:

Status: {select _filter="content" _options="o,p,c" _labels="Open,Pending,Closed" _field="tracker_status" _operator="OR" class="form-control" multiple="multiple" id="status" _default="o"}


I set it to:

Status: {select _filter="content" _options="o,p,c," _labels="Open,Pending,Closed, All" _field="tracker_status" _operator="OR" class="form-control" multiple="multiple" id="status" _default="o"}


See: https://dev.tiki.org/tiki-pagehistory.php?page=Wishlist+Search+Page+Tpl

Importance
5
Easy to solve?
10 easy
Priority
50
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8867
Reviewed by Wishlist Team On
12 Nov 25 15:17 UTC
Created
Wednesday 12 November, 2025 09:39:59 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Friday 23 January, 2026 15:16:14 UTC


Show PHP error messages