Loading...
 
Skip to main content

Tablesorter regression: date range filters are applied instead of just preselected compared to 15.x

Status
Open
Subject
Tablesorter regression: date range filters are applied instead of just preselected compared to 15.x
Version
16.x
16.x Regression
17.x
17.x Regression
Category
  • Consistency
  • Regression
Feature
Tablesorter
Resolution status
New
Submitted by
Xavier de Pedro
Volunteered to solve
Lastmod by
Xavier de Pedro
Rating
(0)
Description

See this code:

Copy to clipboard
{TRACKERLIST(trackerId="6" fields="20:27:31:33:34:43:46:36" showstatus="y" status="op" sortable="y" server="y" editable="43" tsfilters="type:text|type:text|type:text|type:text|type:date;format:yy-mm-dd;from:2016-06-01;to:2016-12-31|type:date;format:yy-mm-dd;from:2016-06-01;to:2016-12-31|type:date;format:yy-mm-dd;from:2016-06-01;to:2016-12-31|type:dropdown" showlinks="y")}{TRACKERLIST}


The tsfilters code type:date;format:yy-mm-dd;from:2016-06-01;to:2016-12-31 is now in trunk applied (so that items without date or not matching the date range are filtered out), while in Tiki 15 they were just used to preselect the date of the rate range filter, but those date ranges were not applied (items without date or not matching the date range where also shown in the results of the table).


If this is confirmed as a regression and fixed in trunk, I reckon that we need to revert this commit I made before I knew that this looked like a regression:

Copy to clipboard
[ENH]Warn the user that this apparently is the new default behavior for 16.x. Probably feature fix since it makes more sense to be like this, but it was not the default behavior until short ago, afaik. Subversion: Committed revision 59430.

Fixed reference to affected branch. It was trunk, and at the time of the bug reporting, that meant 16.x. This issue is not seen any more in 16.x, however, it is in trunk still. Therefore, I tagged it against 17.x and 17.x regression.

Reproduced here:
http://xavi-9794-6200.show.tikiwiki.org/tiki-index.php?page=Bug6201
Last column for LastModif
u: admin
p: 12345

Currently using:
Last update from SVN (17.0svn): Tuesday December 13, 2016 15:09:21 CET - REV 60628 (MyISAM)

And using 16.x, reproduced here:
https://demo.tiki.org/16x/tiki-index.php?page=Homepage+for+user+Gc
u: admin
p: 12345

Importance
7
Easy to solve?
5
Priority
35
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6084
Created
Friday 12 August, 2016 09:19:19 UTC
by Xavier de Pedro
LastModif
Wednesday 04 January, 2017 00:06:14 UTC


Show PHP error messages