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?

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, 9 Months ago Karma: 760
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, 9 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, 9 Months ago Karma: 760
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, 8 Months 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, 8 Months ago Karma: 760
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, 8 Months ago Karma: 0
mmhhhh it does not work.


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