- Posts: 31
- Thank you received: 1
No Search Results On Orders Listing Page
- nyanginator
-
Topic Author
- Offline
Less
More
7 years 9 months ago #302781
by nyanginator
No Search Results On Orders Listing Page was created by nyanginator
-- 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?
-- 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.
7 years 9 months ago #302809
by nicolas
Replied by nicolas on topic No Search Results On Orders Listing Page
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.
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.
- nyanginator
-
Topic Author
- Offline
Less
More
- Posts: 31
- Thank you received: 1
7 years 9 months ago #302853
by nyanginator
Replied by nyanginator on topic No Search Results On Orders Listing Page
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.052 seconds