Trackerlist showinitials does not work for item link field, TrackerFilter "initial" fitler does not behave as expected
- Status
- Open
- Subject
- Trackerlist showinitials does not work for item link field, TrackerFilter "initial" fitler does not behave as expected
- Version
- 11.x
12.x
9.x - Category
- Feature request
- Feature
- Wiki Plugin (extends basic syntax)
- Resolution status
- New
- Submitted by
- hrsms
- Lastmod by
- Nelson Ko
- Rating
- Description
If the field used for sort_mode is an item link, any initial selected results in zero items returned.
Steps to reproduce:
1) Create trackers:
Tracker "Names", id=1
Text Field "Name", id=1
Values:
"Fitzgerald,F. Scott" id=4
"Follett,Ken" id=5
"Grisham,John" id=6Tracker "Titles", id=2
Text Field "Title", id=2
Values:
"Great Gatsby, The" id=1
"Dangerous Fortune,A" id=2
"Painted House, A" id=3Tracker "Books", id=3
Item Link Field (2,2) "Title", id=3
Item Link Field (1,1) "Author", id=4
Values:
"Great Gatsby, The","Fitzgerald,F. Scott" id=7
"Dangerous Fortune,A","Follett,Ken" id=8
"Painted House, A","Grisham,John" id=92) Add trackerlist plugins to wiki
Copy to clipboard{trackerlist (trackerId=1, fields=1, showinitials=y, sort_mode=f_1_asc) /} {trackerlist (trackerId=2, fields=2, showinitials=y, sort_mode=f_2_asc) /} {trackerlist (trackerId=3, fields=3:4, showinitials=y, sort_mode=f_3_asc) /}
3) Filter on "F" - you will see two authors and no titles or books (expected)
4) Filter on "G" - you will see one author, and one title, but no books. The book should have been listed also.I did step (2) above on the home page of the show.tiki instance. To rule out interference between the 3 plugin instances on the same page, I also create separate wiki pages "Names", "Titles", and "Books" on the show.tiki instance. The behavior was the same.
You can see another example on our site:
http://www.hrsms.org/home/ReferencesWhen trying to find a workaround, unexpected behavior was found in TrackerFilter. When the filter is 3/i (intials for title), clicking on a letter results in all titles with the letter anywhere in the string being returned. I would expect only those beginning with that letter. This has been added to the show instance to demonstrate.
- Priority
- 25
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 4898
- Created
- Saturday 09 November, 2013 00:38:34 UTC
by hrsms - LastModif
- Sunday 24 November, 2013 00:31:03 UTC