Loading...
 
Skip to main content

plugin list filter by category doesn't work on dev.t.o

Status
Pending
Subject
plugin list filter by category doesn't work on dev.t.o
Version
20.x
21.x
Category
  • Error
  • Regression
  • Community projects
  • Dogfood on a *.tiki.org site
Feature
Search
Trackers
Resolution status
Partially solved
Submitted by
Xavier de Pedro
Keep informed
Jonny Bradley
Lastmod by
Xavier de Pedro
Rating
(0)
Description

plugin list filter by category doesn't seem to work on dev.t.o. Example: I dereived some list code from Tiki20 page towards jQuery Gantt editor page, adapting the filter condition to match categ id 345:

Copy to clipboard
{filter content="5" field="tracker_id"} {filter field="tracker_status" content="o OR p"} {filter field="tracker_field_category" content="345"}


There is at least one item linked to that category
https://dev.tiki.org/item7122-Editing-a-Gantt-Chart-shows-missleading-messages-success-and-error

But plugin list returns zero results.

Am I doing something wrong? (I used to be able to write plugin list calls with filters and such). Some regression?

Workaround

Maybe the syntax changed to filter by categories? (but in that case, it should have been warned in the documentation pages about upgrading to version Y from version X)

It seems that if we replace this former syntax (which used to work fine, anyway):

Copy to clipboard
{filter field="tracker_field_category" content="333"}


with this other one:

Copy to clipboard
{filter categories="333"}


then the filtering works again as expected, apparently. As reproduced here:
https://dev.tiki.org/tiki-pagehistory.php?page=H5P&newver=47&oldver=46

HTH

Importance
8
Easy to solve?
5
Priority
40
Demonstrate Bug on Tiki 19+
Please demonstrate your bug on show2.tiki.org
Demonstrate Bug (older Tiki versions)
Ticket ID
7123
Created
Tuesday 09 July, 2019 16:19:18 UTC
by Xavier de Pedro
LastModif
Saturday 17 August, 2019 09:39:26 UTC


Collapse/expand modules below
Show PHP error messages