Loading...
 
Skip to main content

_sort parameter in a filter of a relations field display a tracker field error - MySQL

Status
Open
Subject
_sort parameter in a filter of a relations field display a tracker field error - MySQL
Version
29.x
Regression from 28.x to 29.x
Category
  • Error
  • Regression
Feature
Trackers
Resolution status
New
Submitted by
Bernard Sfez / Tiki Specialist
Lastmod by
Ushindi Gedeon
Rating
(0)
Description

I updated recently a Tiki 29.x (14/02/2026) and since then on creation of an item in a tracker I have this error:

Error
Field _sort does not exist in the current index. If this is a tracker field, the proper syntax is tracker_field__sort.


It comes from using a relations tracker field with a filter using this "_sort" parameter.
type=trackeritem&tracker_id=2&_sort=tracker_field_actionsDate_desc

Image


The code is at : templates/trackerinput/relation.tpl

Copy to clipboard
{object_selector_multi _name=$field.ins_id|cat:'[objects]' _value=$data.existing _filter=$data.filter _format=$data.format _parent=$data.parent _parentkey=$data.parentkey _sort=$data.sort}

Solution
Workaround
Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8925
Reviewed by Wishlist Team On
19 Feb 26 09:56 UTC
Created
Wednesday 18 February, 2026 11:22:24 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Thursday 19 February, 2026 09:56:19 UTC


Show PHP error messages