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
- Related-to
-
- Tablesorter: dropdowns in tsfilters are shown as text filters (most of them) when server=y
- Tablesorter: filtering for an item doesn’t find it if not in the first pagination when server=y
- Tablesorter: filtering for an item doesn’t find it if not in the first pagination when server=y
- Tablesorter: dropdowns in tsfilters are shown as text filters (most of them) when server=y
- 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/item6200http://xavi-9794-6200.show.tikiwiki.org/tiki-index.php?page=Bug6201
u: admin
p: 12345Copy 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 clipboardtspaginate="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+
-
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
- 6201
- Created
- Tuesday 13 December, 2016 14:36:33 UTC
by Xavier de Pedro - LastModif
- Tuesday 03 January, 2017 23:12:13 UTC