No Search Results On Orders Listing Page

  • Posts: 31
  • Thank you received: 1
6 years 2 months ago #302781

-- url of the page with the problem -- : demo.hikashop.com/index.php/en/other-fea...-control-panel/order
-- HikaShop version -- : 4.0.2
-- Joomla version -- : 3.9.2
-- PHP version -- : 7
-- Browser(s) name and version -- : Firefox 64.0

Maybe I'm not understanding the search functionality correctly, but in the frontend as demo/demo and going to User Control Panel > Orders, just about all my searches in the searchbox up top come up with no results.

For example, on the demo site, order Y21 has the product "fuse box". Searching for "fuse" yields zero results. I also tried terms from other orders: "sneakers", "shoes", and "ACME" all come up with no records.

Searching order numbers (e.g. "Y21") seems to work. But I'm confused because searching for "17" brings up order T17 (OK), but orders that don't even have "17" in them also come up. How does the search work?

Please Log in or Create an account to join the conversation.

  • Posts: 83511
  • Thank you received: 13511
  • MODERATOR
6 years 2 months ago #302809

Hi

The search is done on the order itself. So you can search for the order number. You can search a year or a date.
Searching on the products wouldn't be possible as the products are loaded after the orders are filtered. Searching on the products after that would mess the pagination system as the search needs the be done on the same MySQL query loading the main elements controlling the pagination.

Please Log in or Create an account to join the conversation.

  • Posts: 31
  • Thank you received: 1
6 years 2 months ago #302853

Ah, okay. Thanks for the info. I think I will just remove it from the template for now then as I didn't find it intuitive.

Please Log in or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum