Search In Admin Not Working V4.3.3

Version 4.3.3



Just wondering if this is a bug.

When searching for products, customers or anything in the top admin search next to Quick Menu it gives you no results or takes you to random pages.

Please see attached picture for the search location



Thank you

search.jpg

I think it will be fixed in 4.3.4



[url=“http://forum.cs-cart.com/tracker/issue-5946-quick-global-search-in-backend-433/”]http://forum.cs-cart.com/tracker/issue-5946-quick-global-search-in-backend-433/[/url]

Hm… Failed to reproduce it on the demo store:



Clip2Net — screen capture tool for Windows, Android, iPad, Mac, Linux



Please try

[quote name='eComLabs' timestamp='1437468893' post='223720']

Hm… Failed to reproduce it on the demo store:



[url=“Clip2Net — screen capture tool for Windows, Android, iPad, Mac, Linux”]Clip2Net — screen capture tool for Windows, Android, iPad, Mac, Linux



Please try

[/quote]



The demo store has probably been patched.

what??

Thanks

Must be patched

I got a reply from CSCART in bug tracker as duplicate



http://forum.cs-cart…in-not-working/

Wow. Did not think that they patch demo stores. Thank you for sharing information about this issue

Looks like the fix worked. getting the right search results now

[quote name='zeero6' timestamp='1437494945' post='223799']

Looks like the fix worked. getting the right search results now

[/quote]



Would you be willing to share a step-by-step on how you fixed it? In the bug tracker there's a link to a diff file, but I have no idea what to do with it. Any help appreciated.

Sure. Make sure you back up these 2 files first

What I did was replace the code in both files



In app-functions-fn.search.php

Replaced: $params['pcode'] = $params['q'];

With: $params['pcode_from_q'] = 'Y';



And in app-schemas-search-schema.php

Replaced : 'action_link' => 'products.manage?compact=Y&q=%search%&pshort=Y&pfull=Y&pname=Y&pkeywords=Y&pcode=%search%&pid=%search%&match=any&content_id=products_content',



With: 'action_link' => 'products.manage?compact=Y&q=%search%&pshort=Y&pfull=Y&pname=Y&pkeywords=Y&pcode_from_q=Y&pid=%search%&match=any&content_id=products_content',



Make sure you clear cache

Thanks zeero6.



However, that still has not fixed it for me in Safari 8.0.7 on OS X 10.10.4.

Does it work on all other browsers? Would not think its browser based. Works for me on Chrome, IE11 and Firefox

This is what I get in Chrome



[attachment=9929:Screen Shot 2015-07-21 at 7.54.35 PM.png]

Screen Shot 2015-07-21 at 7.54.35 PM.png

I get a couple of seconds of spinning beachball in Firefox.

Imac suggested to change default sorting to “no sorting”. Did you try this solution?

[quote name='eComLabs' timestamp='1437560096' post='223915']

Imac suggested to change default sorting to “no sorting”. Did you try this solution?

[/quote]



Yes, I tried that. Makes no difference.

Strange. It fixed it for me just by changing the code in those 2 files with no delay at all