Loading...
 
Skip to main content

Output error when missing field set in pluginList sort control block

Status
Pending
Subject
Output error when missing field set in pluginList sort control block
Version
23.x
Category
  • Error
  • Feature request
Feature
Trackers
Wiki Plugin (extends basic syntax)
Resolution status
New
Submitted by
Bernard Sfez / Tiki Specialist
Lastmod by
Emmanuel Masikilizano
Rating
(0)
Description

Using the pluginList sort control block when you mistype or indicate an inexistent field the output is "No results for query."
IE:

Right syntax
Copy to clipboard
{sort mode="date_ndesc"}
Wrong syntax
Copy to clipboard
{sort mode="tracker_field_date_ndesc"}


It doesn’t help to understand what is going on and give a wrong output.

There are results but the plugin is unable to sort them due to an error in the sort control block. Users should be able to see results and a remarks box should warn something is wrong with the field.

Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7761
Created
Monday 07 June, 2021 08:08:48 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Saturday 15 January, 2022 09:55:51 UTC


Show PHP error messages