Loading...
 
Skip to main content

Tablesorter: with server=n tspaginate is not taken into account when js is minifed

Status
Closed
Subject
Tablesorter: with server=n tspaginate is not taken into account when js is minifed
Version
17.x
Category
  • Conflict of two features (each works well independently)
  • Consistency
  • Error
Feature
Performance / Speed / Load / Compression / Cache
Tablesorter
Resolution status
Works For Me
Submitted by
Xavier de Pedro
Volunteered to solve
Lastmod by
Xavier de Pedro
Rating
(0)
Related-to
Description

Tablesorter: with server=n tspaginate is not taken into account (we did set max:2 and it keeps displaying all the 5 items) when js minification is enabled.


Reproduced at the show instance from this related report:
https://dev.tiki.org/item6200

http://xavi-9794-6200.show.tikiwiki.org/tiki-index.php?page=Bug6201
u: admin
p: 12345

Copy to clipboard
{trackerlist trackerId="1" fields="4:2:3:1:5:8:9:10" showlinks="y" popup="6:7" editableall="y" sortable="y" showstatus="y" status="opc" tsfilters="type:text;placeholder:|type:dropdown;placeholder:|type:nofilter|type:dropdown;placeholder:|type:text;placeholder|type:dropdown;placeholder:|type:dropdown;placeholder:|type:dropdown;placeholder|type:dropdown;placeholder|type:text;placeholder" tspaginate="max:2;expand:5;expand:10;expand:20" showpagination="n" max="-1" server=n}


Disable minifcation cehckboxes in the control panels, and it worked for me as expected.

Solution

Cannot reproduce and also doesn't seem to be an issue in the show instance. Please re-file a bug report when it can be demonstrated in a show instance or otherwise reproduced.


Reopening, since it's not solved and issue still there: pay attention to the param:

Copy to clipboard
tspaginate="max:2;expand:5;expand:10;expand:20"

but it displays 5 items by default, and not just 2 as the use indicated in the params, as an example.


Only two rows shows for me in the show instance, including when js is minified and tested with Chrome, Firefox, Safari and IE.

Tablesorter does remember how many rows the user last chose to show. So if a user chooses to show 5 rows, closes the page, and then reopens it, it will show 5 rows. The way to get it back to 2 rows is to either choose 2 rows or clear the browser cache.

You can leave this open but I cannot work on it until I am able to see the error you are seeing.


Ok, I confirm that I can only reproduce this issue with my Chromium browser (under gnu/linux 64 bit), but not with Chrome nor Firefox, so finally closing as "Works for me".
thanks for your feedback (and patience), lindon.

Importance
4
Easy to solve?
8
Priority
32
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6201
Created
Tuesday 13 December, 2016 14:36:33 UTC
by Xavier de Pedro
LastModif
Tuesday 03 January, 2017 23:12:13 UTC


Show PHP error messages