Divyesh Prajapati Posted February 15, 2014 Share Posted February 15, 2014 (edited) Hello All, I am using prestahop 1.5.3. Whenever I search anything into Orders, Customers in backoffice, I am redirected to page 2 by Default. For more clarification see attached Image. Thanks in advance. Edited February 15, 2014 by divyeshp (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted February 15, 2014 Share Posted February 15, 2014 Only on chrome? Seems pretty weird to be a browser issue. Can you check on firefox and safari as well, at least? IE too, if you can Link to comment Share on other sites More sharing options...
Divyesh Prajapati Posted February 15, 2014 Author Share Posted February 15, 2014 Only on chrome? Seems pretty weird to be a browser issue. Can you check on firefox and safari as well, at least? IE too, if you can Yeah! I have checked in all other browser and it's working really fine. Link to comment Share on other sites More sharing options...
NemoPS Posted February 15, 2014 Share Posted February 15, 2014 Can you try clearing chrome's cache? If the above doesn't work, open the debug console (f12) and look for any red mark in the top right corner of it. If it's there, click on it and screen the console Link to comment Share on other sites More sharing options...
Divyesh Prajapati Posted February 15, 2014 Author Share Posted February 15, 2014 I have tried after clearing browser cache and also looked into console but it's not giving any error there. Link to comment Share on other sites More sharing options...
decome2013 Posted March 5, 2014 Share Posted March 5, 2014 http://www.prestashop.com/forums/topic/295356-backoffice-filtre-par-id-commande/ translate with google debug in 1.6 but no way for prestashop 1.5.2/3/4 and chrome 30< same probleme and same grrrrr.... Link to comment Share on other sites More sharing options...
Divyesh Prajapati Posted March 5, 2014 Author Share Posted March 5, 2014 (edited) Hello All, Finally found solution... Just modify two files... Here are steps 1) Open AdminTab.php from classes folder, Found this code ( line# 1400 approx. ) $page = (int)(Tools::getValue('submitFilter'.$this->table)); and replace this code with following code if( ( $_POST['x']== 0 && $_POST['y'] == 0 )|| !isset($_POST['submitFilter'.$this->table]) ) { $_POST['submitFilter'.$this->table] = 1; $page = 1; } else { $page = (int)(Tools::getValue('submitFilter'.$this->table)); } 2) Open AdminController.php from classes/controller folder, Add following code just after starting of processFilter function if( ( $_POST['x']== 0 && $_POST['y'] == 0 )|| empty($_POST) || !isset($_POST['submitFilter'.$this->table])) $_POST['submitFilter'.$this->table] = 1; Just do these changes and Enjoy!! Edited March 5, 2014 by divyeshp (see edit history) Link to comment Share on other sites More sharing options...
decome2013 Posted March 5, 2014 Share Posted March 5, 2014 than you i still get an error but no more page 2/1 If i search a product/order or something else, the first time I submit there are nice results. But if a submit a second time, there is no results, all products or all orders appear. if I submit again, it works. it's like this error happens once every two times. Very very strange. 1 Link to comment Share on other sites More sharing options...
SPKF Posted March 5, 2014 Share Posted March 5, 2014 Thank you for taking the time to look at this bug divyeshp ! Indeed, as stated decome2013 it works 1 time out of two. Information for my PrestaShop version: 1.5.4.0 Thanks again, Best regards, 1 Link to comment Share on other sites More sharing options...
decome2013 Posted March 5, 2014 Share Posted March 5, 2014 well, i solve the issue. I found Chrome 29 on torrents and install it offline. no more problems If you try, caution to spywares in these files, my norton became crazy for 15 min ^^ finally, i found a clean version. Only take offline setup (30 or 35mb). Before to launch setup, shut down internet and disable google update. i can give you a link to chrome 29 if you don't find it good luck 1 Link to comment Share on other sites More sharing options...
Anbarasi Posted April 30, 2014 Share Posted April 30, 2014 thanks , pagination problem was solved in chrome. Link to comment Share on other sites More sharing options...
Recommended Posts