Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

[SOLVED] Server side pagination sorting problem
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: [SOLVED] Server side pagination sorting problem
#47721
[SOLVED] Server side pagination sorting problem 10 Years, 9 Months ago Karma: 1
Hello

When I enable Server side pagination = Yes,
sorting and pagination doesn't work any more.
If Server side pagination is disabled than sorting and pagination works.
ARI AJAX Dispatcher plugin is installed and enabled.


My query:

SELECT
U.name,
U.email,
U.registerDate,
U.lastvisitDate,
A.id,
A.cb_author,
A.cb_companyname,
A.cb_jobfunction,
A.cb_mainindustrysectorcategory,
A.cb_country
FROM #__comprofiler A INNER JOIN #__users U
ON A.id = U.id
ORDER BY U.name ASC


If I disable "Server side pagination" than list needs much more to load.
Currently, list contains approx 500 entries, but this number will grow into 2-3K


Any suggestions?

Joomla 3.2.1,
latest ARI data table module.

Regards
Krx
User Offline Click here to see the profile of this user
Last Edit: 2014/02/08 16:46 By Krx.
The administrator has disabled public write access.
 
#47723
Re:Problem with sorting with Server side pagination 10 Years, 9 Months ago Karma: 760
Hello,

Could you provide a link to a page where we can see the problem and a temporary access to your J! backend by email so we can investigate the problem?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#47744
Re:Problem with sorting with Server side pagination 10 Years, 9 Months ago Karma: 1
Hello

So, with server side pagination turned on, pagination and sorting should work?

Also I've solved slow speed issue with only 5oo-ish items being rendered.
To display ARI Data tables I've used "Modules Anywhere" plugin and set it so that one article shows ARI module.
Module was displaying e-mail addresses, and Joomla also has Email cloaking plugin which autowraps every email address with block of JS code. This plugin was causing slow rendering of displayed data because it was wrapping 500 email addresses with this JS code.
I didn't want to tun off email cloaking plugin, but Joomla also has option to turn it off per article with this syntax added at top of article: {emailcloak=off}
Now ARI data tables renders fast as usual.
List generated by ARI module will be used by only 2 persons so server hog shouldn't be an issue.

This fix also solved non working pagination, but sorting still doesn't work


I've sent you login details for you to investigate because at some point list will grow even further so setting "Server Side pagination = Yes" would be wise

Regards
Krx
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#47746
Re:Problem with sorting with Server side pagination 10 Years, 9 Months ago Karma: 760
Try now please. We removed "ORDER BY" from the query and used "Choose table type -> ARI Data Table -> Columns settings" to define default sorting.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#47747
Re:Problem with sorting with Server side pagination 10 Years, 9 Months ago Karma: 1
Hi

All works OK now.
Your module is getting better and better by every new release.

Thanks a lot for support during weekend.

Marking thread as solved.

Best regards.
Krx
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1