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


Recent Events
  • 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.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


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?

Initial &Column Filter and avoid empty filter
(1 viewing) (1) Guest
Go to bottomPage: 1234
TOPIC: Initial &Column Filter and avoid empty filter
#25622
Re:Initial &Column Filter and avoid empty filter 12 Years, 2 Months ago Karma: 748
Download and upgrade "ARI Data Tables" module please. It should help.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#25627
Re:Initial &Column Filter and avoid empty filter 12 Years, 2 Months ago Karma: 0
IT WOOOOOORRRKKKSSSSSSS!!!!!!



YOU ARE MY HERO!!!!!!!



just as a curiosity, which was the problem?
The administrator has disabled public write access.
 
#25628
Re:Initial &Column Filter and avoid empty filter 12 Years, 2 Months ago Karma: 748
It was a bug in the module. It quoted request variables. Sorry for this.

Regards,
ARI Soft
Last Edit: 2012/02/28 16:13 By admin.
The administrator has disabled public write access.
 
#26445
Re:Initial &Column Filter and avoid empty filter 12 Years, 1 Month ago Karma: 0
Anorher problem.


It works perfectly with one column
But if I add a filter it filters only on the first column.

I need to have a logical AND between teo filters.


Solutions?
The administrator has disabled public write access.
 
#26474
Re:Initial &Column Filter and avoid empty filter 12 Years, 1 Month ago Karma: 748
If you mean CSV filter and want to replace "OR" filter with "AND" filter, open <joomla_directory>\modules\mod_aridatatables\includes\kernel\DataTables\Models\class.DataTablesDataCsvModel.php file, find "getConditions" method and replace the next code:

Code:


return count($conditions) > 0 ? join(' OR ', $conditions) : null;



with the following one:

Code:


return count($conditions) > 0 ? join(' AND ', $conditions) : null;



Regards,
ARI Soft
The administrator has disabled public write access.
 
#26478
Re:Initial &Column Filter and avoid empty filter 12 Years, 1 Month ago Karma: 0
mmhhhh it does not work.


It retrieves all the results....
The administrator has disabled public write access.
 
Go to topPage: 1234