Commit de8044e2 by tetiana yaremko

pagination and products sort wit AJAX implemented

parent f758115d
Showing with 1 additions and 1 deletions
...@@ -78,7 +78,7 @@ class Admin_model extends CI_Model ...@@ -78,7 +78,7 @@ class Admin_model extends CI_Model
{ {
$query = " $query = "
SELECT * FROM product SELECT * FROM product
WHERE status_id = '2' OR status_id = '1' WHERE status_id = '2'
"; ";
if(isset($minimum_price, $maximum_price) && !empty($minimum_price) && !empty($maximum_price)) if(isset($minimum_price, $maximum_price) && !empty($minimum_price) && !empty($maximum_price))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment