Tablesorter: dropdowns in tsfilters are shown as text filters (most of them) when server=y
- Status
- Closed
- Subject
- Tablesorter: dropdowns in tsfilters are shown as text filters (most of them) when server=y
- Version
- 17.x
- Category
- Conflict of two features (each works well independently)
- Consistency
- Error
- Feature
- Edit interface (UI)
Tablesorter - Resolution status
- Rejected
- Submitted by
- Xavier de Pedro
- Volunteered to solve
- Lastmod by
- Xavier de Pedro, lindon
- Rating
- Related-to
-
- Several issues with dropdowns and tablesorter for tracker data
- Tablesorter filter dropdown shown as text input when server=y
- Tablesorter: filtering for an item doesn’t find it if not in the first pagination when server=y
- Tablesorter: with server=n tspaginate is not taken into account when js is minifed
- Tablesorter: filtering for an item doesn’t find it if not in the first pagination when server=y
- Tablesorter: with server=n tspaginate is not taken into account when js is minifed
- Description
Tablesorter: dropdowns in tsfilters and shown as text filters (most of them) when server=y
Reproduced at the show instance from this related report:
https://dev.tiki.org/item6200http://xavi-9794-6200.show.tikiwiki.org/tiki-index.php?page=Bug6202
u: admin
p: 12345edit the page, and you will see that many of the filters where set as dropdowns, However, they are shown as text filters.
- Solution
Except for tracker type "dropdown" fields where the dropdown options are specified in the tracker field definition, dropdown lists cannot be automatically generated when using ajax by design. This is because with ajax only some of the rows may be retrieved at a time so there is no way of knowing what all the possible options are that have been used in the other rows. To avoid creating an incomplete automatic dropdown list, no automatic dropdown is generated when ajax is being used - the dropdown options must be specified either in the dropdown tracker field definition or in the
tsfilterparameter setting.I have added documentation to PluginTackerlist to explain.
- Workaround
Two ways to generate the dropdown list when using ajax (server=y):
- Use tracker field type "dropdown" and specify dropdown options in the field definition
- Specify dropdown options in the
tsfiltersparameter
- Importance
- 5
- Easy to solve?
- 5
- 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
- 6202
- Created
- Tuesday 13 December, 2016 14:37:49 UTC
by Xavier de Pedro - LastModif
- Tuesday 03 January, 2017 23:12:13 UTC