[Skip to main content](#vessel-content)

#   problem with filters reset

##

- **[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")**
- [![Greg&#95;C's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57819-greg-c "View Greg&#95;C's Profile") Topic Author
- [ Offline](/forum/user/57819-greg-c)

Less More

- Posts: 141
- Thank you received: 3
-
-

6 years 11 months ago [\#313799](#313799) by [Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")  *[problem with filters reset](/forum/45-filters-search/898811-problem-with-filters-reset#313799 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.14  Hi, I have problem with proper functioning of filters – In fact with filters reset either using Reset Button or using mark “x” for deletable filters. I thought that the problem might be caused by the URL length as discussed on this and I have implemented proposed change in media/com&#95;hikashop/js/hikashop.js – so URL address after filters are set looks like that However I did test with more number of products which caused pagination of product listing. After I change the page from the first 12 items to see another page (for example to the next 12 items) URL structure is changing and include filter parameters and it looks like that: – although this URL is very short and shouldn't cause a problem  Then after I use Reset Button filters are reset and full product listing is presented but filters in the Hikashop Filter Module are still presented as they were set (I am attaching an image).  I checked message in Console and it looks like below (no error message is reported in everything.php file from System Debug):  I have no customization in filter.php. This problem also occur using Prostar Template.  I would like to ask for help in solving this problem.  Regards, Greg")* was created by *[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")*

-- HikaShop version -- : 4.2.2
-- Joomla version -- : 3.9.13
-- PHP version -- : 7.2.14

Hi, I have problem with proper functioning of filters – In fact with filters reset either using Reset Button or using mark “x” for deletable filters. I thought that the problem might be caused by the URL length as discussed on this [ Forum Thread](https://www.hikashop.com/forum/install-update/898686-problem-with-filters-after-hikashop-4-2-2-update.html) and I have implemented proposed change in media/com_hikashop/js/hikashop.js – so URL address after filters are set looks like that Code:

/shop/products

However I did test with more number of products which caused pagination of product listing. After I change the page from the first 12 items to see another page (for example to the next 12 items) URL structure is changing and include filter parameters and it looks like that: Code:

/shop/products?limitstart=12&amp;filter_Test_1=&amp;filter_Color_2=White&amp;filter_Format_3=Large&amp;filter_Keywords_6=&amp;filter_Category_5=none&amp;filter_aa_7=&amp;filter_bb_8=&amp;filter_cc_9=&amp;filter_dd_10=&amp;filter_ee_11=&amp;filter_ff_12=&amp;filter_gg_13=&amp;filter_hh_14=&amp;filter_ii_15=&amp;filter_jj_16=&amp;filter_kk_17=&amp;filter=1

– although this URL is very short and shouldn't cause a problem

Then after I use Reset Button filters are reset and full product listing is presented but filters in the Hikashop Filter Module are still presented as they were set (I am attaching an image).

I checked message in Console and it looks like below (no error message is reported in everything.php file from System Debug):

[ ![console&#95;2019-12-06.png](/forum/attachment/48347) ](/forum/attachment/48347 "...2019-12-06.png")

I have no customization in filter.php. This problem also occur using Prostar Template.

I would like to ask for help in solving this problem.

Regards,
Greg

- [ ![console&#95;2019-12-06.png](/forum/attachment/48347) ](/forum/attachment/48347 "...2019-12-06.png") [ ](/forum/attachment/48347?download=1 "...2019-12-06.png")
- [ ![filters.png](/forum/attachment/48348) ](/forum/attachment/48348 "filters.png") [ ](/forum/attachment/48348?download=1 "filters.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5ODgxMS1wcm9ibGVtLXdpdGgtZmlsdGVycy1yZXNldD9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86576
- Thank you received: 14320
-
-

6 years 11 months ago [\#313808](#313808) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[problem with filters reset](/forum/45-filters-search/898811-problem-with-filters-reset#313808 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.14  Hi, I have problem with proper functioning of filters – In fact with filters reset either using Reset Button or using mark “x” for deletable filters. I thought that the problem might be caused by the URL length as discussed on this and I have implemented proposed change in media/com&#95;hikashop/js/hikashop.js – so URL address after filters are set looks like that However I did test with more number of products which caused pagination of product listing. After I change the page from the first 12 items to see another page (for example to the next 12 items) URL structure is changing and include filter parameters and it looks like that: – although this URL is very short and shouldn't cause a problem  Then after I use Reset Button filters are reset and full product listing is presented but filters in the Hikashop Filter Module are still presented as they were set (I am attaching an image).  I checked message in Console and it looks like below (no error message is reported in everything.php file from System Debug):  I have no customization in filter.php. This problem also occur using Prostar Template.  I would like to ask for help in solving this problem.  Regards, Greg")*

Hi,

Could you provide a link to the shop so that we could reproduce the issue in order to first better understand the situation ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5ODgxMS1wcm9ibGVtLXdpdGgtZmlsdGVycy1yZXNldD9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")**
- [![Greg&#95;C's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57819-greg-c "View Greg&#95;C's Profile") Topic Author
- [ Offline](/forum/user/57819-greg-c)

Less More

- Posts: 141
- Thank you received: 3
-
-

6 years 11 months ago [\#313818](#313818) by [Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")  Replied by *[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")* on topic *[problem with filters reset](/forum/45-filters-search/898811-problem-with-filters-reset#313818 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.14  Hi, I have problem with proper functioning of filters – In fact with filters reset either using Reset Button or using mark “x” for deletable filters. I thought that the problem might be caused by the URL length as discussed on this and I have implemented proposed change in media/com&#95;hikashop/js/hikashop.js – so URL address after filters are set looks like that However I did test with more number of products which caused pagination of product listing. After I change the page from the first 12 items to see another page (for example to the next 12 items) URL structure is changing and include filter parameters and it looks like that: – although this URL is very short and shouldn't cause a problem  Then after I use Reset Button filters are reset and full product listing is presented but filters in the Hikashop Filter Module are still presented as they were set (I am attaching an image).  I checked message in Console and it looks like below (no error message is reported in everything.php file from System Debug):  I have no customization in filter.php. This problem also occur using Prostar Template.  I would like to ask for help in solving this problem.  Regards, Greg")*

Hi Nicolas, I have sent a link and access data to the test site using contact form

Regards,
Greg

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5ODgxMS1wcm9ibGVtLXdpdGgtZmlsdGVycy1yZXNldD9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

6 years 11 months ago -  6 years 11 months ago [\#313843](#313843) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[problem with filters reset](/forum/45-filters-search/898811-problem-with-filters-reset#313843 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.14  Hi, I have problem with proper functioning of filters – In fact with filters reset either using Reset Button or using mark “x” for deletable filters. I thought that the problem might be caused by the URL length as discussed on this and I have implemented proposed change in media/com&#95;hikashop/js/hikashop.js – so URL address after filters are set looks like that However I did test with more number of products which caused pagination of product listing. After I change the page from the first 12 items to see another page (for example to the next 12 items) URL structure is changing and include filter parameters and it looks like that: – although this URL is very short and shouldn't cause a problem  Then after I use Reset Button filters are reset and full product listing is presented but filters in the Hikashop Filter Module are still presented as they were set (I am attaching an image).  I checked message in Console and it looks like below (no error message is reported in everything.php file from System Debug):  I have no customization in filter.php. This problem also occur using Prostar Template.  I would like to ask for help in solving this problem.  Regards, Greg")*

Hello,

But unfortunately when we process our tests everything works as expected, there may be something missing in your step by step.
In order to help you, can you precise :
- Your **browser** to process your test
- If you are **logged or not**
- If you are logged, does the account you provide to us, have the **same properties** same yours ?
- Other points that can help us.

Awaiting your returns to progress on your subject.
Regards

Last edit: 6 years 11 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5ODgxMS1wcm9ibGVtLXdpdGgtZmlsdGVycy1yZXNldD9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")**
- [![Greg&#95;C's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57819-greg-c "View Greg&#95;C's Profile") Topic Author
- [ Offline](/forum/user/57819-greg-c)

Less More

- Posts: 141
- Thank you received: 3
-
-

6 years 11 months ago [\#313858](#313858) by [Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")  Replied by *[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")* on topic *[problem with filters reset](/forum/45-filters-search/898811-problem-with-filters-reset#313858 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.14  Hi, I have problem with proper functioning of filters – In fact with filters reset either using Reset Button or using mark “x” for deletable filters. I thought that the problem might be caused by the URL length as discussed on this and I have implemented proposed change in media/com&#95;hikashop/js/hikashop.js – so URL address after filters are set looks like that However I did test with more number of products which caused pagination of product listing. After I change the page from the first 12 items to see another page (for example to the next 12 items) URL structure is changing and include filter parameters and it looks like that: – although this URL is very short and shouldn't cause a problem  Then after I use Reset Button filters are reset and full product listing is presented but filters in the Hikashop Filter Module are still presented as they were set (I am attaching an image).  I checked message in Console and it looks like below (no error message is reported in everything.php file from System Debug):  I have no customization in filter.php. This problem also occur using Prostar Template.  I would like to ask for help in solving this problem.  Regards, Greg")*

Hi Philip, Please find below scenario to reproduce problem with reset button (I have sent new test site address using contact form):

Browser: Mozilla Firefox 71 (but it should be also possible to reproduced on Google Chrome 78)
User: Not logged

Scenario

- Set Filter: Category: Travel
- Click on Filter Button
- Click on Reset Button
- Go to Page 2 (pagination toolbar)
- Set Filter: Category: Travel
- Click on Filter Button
- Click on Reset Button
- product listing is reset but filter (in this case Category) in Hikashop Filter Module are still showing as set

Additionally I found another problem with functioning of filters - problem is related with wrong presentation of filters after product page visiting - please find below two scenarios how to reproduce this problem

Browser: Mozilla Firefox 71
User: Not logged

Scenario A

- Set Filter: Category: Travel
- Click on Filter Button
- Go to Page 2 (pagination toolbar)
- Click on Reset Button (in consequence all filters are clean)
- Click on any Product Image to open Product Page (for example first image on the left - first row)
- Click on back button on browser navigation to back from Product Page to Product Listing page
- After returning to the Product Listing Page, instead of empty filters, we see filters that have been reseted before going to the product page

Scenario B

- Set Filter: Category: Travel
- Click on Filter Button
- Go to Page 2 (pagination toolbar)
- Click on Reset Button (in consequence all filters are clean)
- Go again to Page 2 (pagination toolbar)
- Set Filter: Category: Travel
- Click on Filter Button
- Click on any Product Image to open Product Page (for example first image on the left - first row)
- Click on back button on browser navigation to back from Product Page to Product Listing page
- After returning to the Product Listing Page, filters are not set (as they were presented before going to the product page) - we see all filters clean (reset)

Regards,
Greg

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5ODgxMS1wcm9ibGVtLXdpdGgtZmlsdGVycy1yZXNldD9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")**
- [![Greg&#95;C's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57819-greg-c "View Greg&#95;C's Profile") Topic Author
- [ Offline](/forum/user/57819-greg-c)

Less More

- Posts: 141
- Thank you received: 3
-
-

6 years 11 months ago [\#313962](#313962) by [Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")  Replied by *[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")* on topic *[problem with filters reset](/forum/45-filters-search/898811-problem-with-filters-reset#313962 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.14  Hi, I have problem with proper functioning of filters – In fact with filters reset either using Reset Button or using mark “x” for deletable filters. I thought that the problem might be caused by the URL length as discussed on this and I have implemented proposed change in media/com&#95;hikashop/js/hikashop.js – so URL address after filters are set looks like that However I did test with more number of products which caused pagination of product listing. After I change the page from the first 12 items to see another page (for example to the next 12 items) URL structure is changing and include filter parameters and it looks like that: – although this URL is very short and shouldn't cause a problem  Then after I use Reset Button filters are reset and full product listing is presented but filters in the Hikashop Filter Module are still presented as they were set (I am attaching an image).  I checked message in Console and it looks like below (no error message is reported in everything.php file from System Debug):  I have no customization in filter.php. This problem also occur using Prostar Template.  I would like to ask for help in solving this problem.  Regards, Greg")*

Hi Philip, did you have the opportunity to analyze the problem ?

Regards,
Greg

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5ODgxMS1wcm9ibGVtLXdpdGgtZmlsdGVycy1yZXNldD9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")**
- [![Greg&#95;C's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57819-greg-c "View Greg&#95;C's Profile") Topic Author
- [ Offline](/forum/user/57819-greg-c)

Less More

- Posts: 141
- Thank you received: 3
-
-

6 years 11 months ago [\#314102](#314102) by [Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")  Replied by *[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")* on topic *[problem with filters reset](/forum/45-filters-search/898811-problem-with-filters-reset#314102 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.14  Hi, I have problem with proper functioning of filters – In fact with filters reset either using Reset Button or using mark “x” for deletable filters. I thought that the problem might be caused by the URL length as discussed on this and I have implemented proposed change in media/com&#95;hikashop/js/hikashop.js – so URL address after filters are set looks like that However I did test with more number of products which caused pagination of product listing. After I change the page from the first 12 items to see another page (for example to the next 12 items) URL structure is changing and include filter parameters and it looks like that: – although this URL is very short and shouldn't cause a problem  Then after I use Reset Button filters are reset and full product listing is presented but filters in the Hikashop Filter Module are still presented as they were set (I am attaching an image).  I checked message in Console and it looks like below (no error message is reported in everything.php file from System Debug):  I have no customization in filter.php. This problem also occur using Prostar Template.  I would like to ask for help in solving this problem.  Regards, Greg")*

Hi Nicolas / Hi Philip, please let me know whether you are analyzing this problem
sorry for pressing but I haven’t received feedback for a long time and I am worried if this topic is still being analyzed on your side, especially because it is a very important matter for me

Regards,
Greg

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5ODgxMS1wcm9ibGVtLXdpdGgtZmlsdGVycy1yZXNldD9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

6 years 11 months ago [\#314150](#314150) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[problem with filters reset](/forum/45-filters-search/898811-problem-with-filters-reset#314150 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.14  Hi, I have problem with proper functioning of filters – In fact with filters reset either using Reset Button or using mark “x” for deletable filters. I thought that the problem might be caused by the URL length as discussed on this and I have implemented proposed change in media/com&#95;hikashop/js/hikashop.js – so URL address after filters are set looks like that However I did test with more number of products which caused pagination of product listing. After I change the page from the first 12 items to see another page (for example to the next 12 items) URL structure is changing and include filter parameters and it looks like that: – although this URL is very short and shouldn't cause a problem  Then after I use Reset Button filters are reset and full product listing is presented but filters in the Hikashop Filter Module are still presented as they were set (I am attaching an image).  I checked message in Console and it looks like below (no error message is reported in everything.php file from System Debug):  I have no customization in filter.php. This problem also occur using Prostar Template.  I would like to ask for help in solving this problem.  Regards, Greg")*

Hello Greg and sorry for the late reply,

Philip and Nicolas have actually analyzed it but they will be in winter holidays until the January so they won't be able to debug it until then.

I'll try to reproduce and debug it as soon as possible !

Kind regards,
Mohamed.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5ODgxMS1wcm9ibGVtLXdpdGgtZmlsdGVycy1yZXNldD9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")**
- [![Greg&#95;C's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57819-greg-c "View Greg&#95;C's Profile") Topic Author
- [ Offline](/forum/user/57819-greg-c)

Less More

- Posts: 141
- Thank you received: 3
-
-

6 years 11 months ago [\#314158](#314158) by [Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")  Replied by *[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")* on topic *[problem with filters reset](/forum/45-filters-search/898811-problem-with-filters-reset#314158 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.14  Hi, I have problem with proper functioning of filters – In fact with filters reset either using Reset Button or using mark “x” for deletable filters. I thought that the problem might be caused by the URL length as discussed on this and I have implemented proposed change in media/com&#95;hikashop/js/hikashop.js – so URL address after filters are set looks like that However I did test with more number of products which caused pagination of product listing. After I change the page from the first 12 items to see another page (for example to the next 12 items) URL structure is changing and include filter parameters and it looks like that: – although this URL is very short and shouldn't cause a problem  Then after I use Reset Button filters are reset and full product listing is presented but filters in the Hikashop Filter Module are still presented as they were set (I am attaching an image).  I checked message in Console and it looks like below (no error message is reported in everything.php file from System Debug):  I have no customization in filter.php. This problem also occur using Prostar Template.  I would like to ask for help in solving this problem.  Regards, Greg")*

Hi Mohamed, ok, thank you for the information
I will be waiting for a solution

Regards,
Greg

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5ODgxMS1wcm9ibGVtLXdpdGgtZmlsdGVycy1yZXNldD9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")**
- [![Greg&#95;C's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57819-greg-c "View Greg&#95;C's Profile") Topic Author
- [ Offline](/forum/user/57819-greg-c)

Less More

- Posts: 141
- Thank you received: 3
-
-

6 years 10 months ago [\#314513](#314513) by [Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")  Replied by *[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")* on topic *[problem with filters reset](/forum/45-filters-search/898811-problem-with-filters-reset#314513 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.14  Hi, I have problem with proper functioning of filters – In fact with filters reset either using Reset Button or using mark “x” for deletable filters. I thought that the problem might be caused by the URL length as discussed on this and I have implemented proposed change in media/com&#95;hikashop/js/hikashop.js – so URL address after filters are set looks like that However I did test with more number of products which caused pagination of product listing. After I change the page from the first 12 items to see another page (for example to the next 12 items) URL structure is changing and include filter parameters and it looks like that: – although this URL is very short and shouldn't cause a problem  Then after I use Reset Button filters are reset and full product listing is presented but filters in the Hikashop Filter Module are still presented as they were set (I am attaching an image).  I checked message in Console and it looks like below (no error message is reported in everything.php file from System Debug):  I have no customization in filter.php. This problem also occur using Prostar Template.  I would like to ask for help in solving this problem.  Regards, Greg")*

Hello, did you manage to find solution ?

Regards,
Greg

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5ODgxMS1wcm9ibGVtLXdpdGgtZmlsdGVycy1yZXNldD9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86576
- Thank you received: 14320
-
-

6 years 10 months ago [\#314684](#314684) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[problem with filters reset](/forum/45-filters-search/898811-problem-with-filters-reset#314684 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.14  Hi, I have problem with proper functioning of filters – In fact with filters reset either using Reset Button or using mark “x” for deletable filters. I thought that the problem might be caused by the URL length as discussed on this and I have implemented proposed change in media/com&#95;hikashop/js/hikashop.js – so URL address after filters are set looks like that However I did test with more number of products which caused pagination of product listing. After I change the page from the first 12 items to see another page (for example to the next 12 items) URL structure is changing and include filter parameters and it looks like that: – although this URL is very short and shouldn't cause a problem  Then after I use Reset Button filters are reset and full product listing is presented but filters in the Hikashop Filter Module are still presented as they were set (I am attaching an image).  I checked message in Console and it looks like below (no error message is reported in everything.php file from System Debug):  I have no customization in filter.php. This problem also occur using Prostar Template.  I would like to ask for help in solving this problem.  Regards, Greg")*

Hi,

Sorry for the delay. It was a rough start of the year with a lot of support to handle.
I finally had the time to look into the issue today, however I must be missing something because I'm not able to reproduce it.

I went to serwer1910203 DOT home DOT pl/test/en/shop/product-listing (I put the URL just to make sure that we're talking about the same website) with Google Chrome (I also tried with FireFox with the same result)
Then, I set the filter "people" to "group_of_people"
Then, I click on the "filter" button
Then, I go to the second page
Then, I click on the "reset" button
And I correctly get the first page of all the products and the filter is reset in the filter module.

So I'm not sure if you still have a problem ?

However, regarding your "Scenario A" and "Scenario B", I was able to reproduce the issue. However, these have been fixed in HikaShop 4.2.2 with a modification to media/com_hikashop/js/hikashop.js
I checked the version of your HikaShop and it seems that you have the 4.2.2. However, if I check the version of your media/com_hikashop/js/hikashop.js I can see that it says it's the 4.2.1 version and it doesn't have the patch I was talking about above.
So to me, you need to make sure that this file is replaced with the one of the 4.2.2 and it should work:
[ monosnap.com/file/ktCKr1HdJbHY52xT5D0r6aXaqQQSik](https://monosnap.com/file/ktCKr1HdJbHY52xT5D0r6aXaqQQSik)
To do that, you could rename that file via FTP (or delete it) and then install the HikaShop 4.2.2 install package that you can download on our website. That will it will add again the file with the latest version.
Alternatively, you can extract the install package on your local computer and replace the file via the FTP. It is located in the media/js/ folder in the install package.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5ODgxMS1wcm9ibGVtLXdpdGgtZmlsdGVycy1yZXNldD9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")**
- [![Greg&#95;C's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57819-greg-c "View Greg&#95;C's Profile") Topic Author
- [ Offline](/forum/user/57819-greg-c)

Less More

- Posts: 141
- Thank you received: 3
-
-

6 years 10 months ago [\#314693](#314693) by [Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")  Replied by *[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")* on topic *[problem with filters reset](/forum/45-filters-search/898811-problem-with-filters-reset#314693 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.14  Hi, I have problem with proper functioning of filters – In fact with filters reset either using Reset Button or using mark “x” for deletable filters. I thought that the problem might be caused by the URL length as discussed on this and I have implemented proposed change in media/com&#95;hikashop/js/hikashop.js – so URL address after filters are set looks like that However I did test with more number of products which caused pagination of product listing. After I change the page from the first 12 items to see another page (for example to the next 12 items) URL structure is changing and include filter parameters and it looks like that: – although this URL is very short and shouldn't cause a problem  Then after I use Reset Button filters are reset and full product listing is presented but filters in the Hikashop Filter Module are still presented as they were set (I am attaching an image).  I checked message in Console and it looks like below (no error message is reported in everything.php file from System Debug):  I have no customization in filter.php. This problem also occur using Prostar Template.  I would like to ask for help in solving this problem.  Regards, Greg")*

Hi Nicolas, Thank you for your answer. URL is correct. To reproduce problem with filter reset you should exactly follow scenario presented from my side – it means:

- Set Filter: Category: Travel
- Click on Filter Button
- Click on **Reset** Button
- Go to Page 2 (pagination toolbar)
- Set Filter: Category: Travel
- Click on Filter Button
- Click on **Reset** Button
- product listing is reset but filter (in this case Category) in Hikashop Filter Module are still showing as set

I have uploaded again hikashop 4.2.2 and after installation hikashop.js is in the ver. 4.2.2. and problem presented in Scenario A and B is not exist.

However problem with filter reset still exist.

Regards,
Greg

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5ODgxMS1wcm9ibGVtLXdpdGgtZmlsdGVycy1yZXNldD9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86576
- Thank you received: 14320
-
-

6 years 10 months ago [\#314715](#314715) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[problem with filters reset](/forum/45-filters-search/898811-problem-with-filters-reset#314715 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.14  Hi, I have problem with proper functioning of filters – In fact with filters reset either using Reset Button or using mark “x” for deletable filters. I thought that the problem might be caused by the URL length as discussed on this and I have implemented proposed change in media/com&#95;hikashop/js/hikashop.js – so URL address after filters are set looks like that However I did test with more number of products which caused pagination of product listing. After I change the page from the first 12 items to see another page (for example to the next 12 items) URL structure is changing and include filter parameters and it looks like that: – although this URL is very short and shouldn't cause a problem  Then after I use Reset Button filters are reset and full product listing is presented but filters in the Hikashop Filter Module are still presented as they were set (I am attaching an image).  I checked message in Console and it looks like below (no error message is reported in everything.php file from System Debug):  I have no customization in filter.php. This problem also occur using Prostar Template.  I would like to ask for help in solving this problem.  Regards, Greg")*

Hi,

Ok, I was able to get the problem on your website now.
Looking at the situation, I can see that the AJAX request sent to the server to refresh the filter module gets back a 500 error message:
[ monosnap.com/file/XHb5YE2WZ1lf2vKvTw46bMUnHfjHcx](https://monosnap.com/file/XHb5YE2WZ1lf2vKvTw46bMUnHfjHcx)
So because of that, the filter area is not refreshed and thus you still see the filters set.
I don't know why you get that.
Could you check the PHP error log of your server ?
It should contain a "fatal error" message corresponding to that 500 error which should help us understand what is going on.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5ODgxMS1wcm9ibGVtLXdpdGgtZmlsdGVycy1yZXNldD9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")**
- [![Greg&#95;C's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57819-greg-c "View Greg&#95;C's Profile") Topic Author
- [ Offline](/forum/user/57819-greg-c)

Less More

- Posts: 141
- Thank you received: 3
-
-

6 years 10 months ago [\#314731](#314731) by [Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")  Replied by *[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")* on topic *[problem with filters reset](/forum/45-filters-search/898811-problem-with-filters-reset#314731 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.14  Hi, I have problem with proper functioning of filters – In fact with filters reset either using Reset Button or using mark “x” for deletable filters. I thought that the problem might be caused by the URL length as discussed on this and I have implemented proposed change in media/com&#95;hikashop/js/hikashop.js – so URL address after filters are set looks like that However I did test with more number of products which caused pagination of product listing. After I change the page from the first 12 items to see another page (for example to the next 12 items) URL structure is changing and include filter parameters and it looks like that: – although this URL is very short and shouldn't cause a problem  Then after I use Reset Button filters are reset and full product listing is presented but filters in the Hikashop Filter Module are still presented as they were set (I am attaching an image).  I checked message in Console and it looks like below (no error message is reported in everything.php file from System Debug):  I have no customization in filter.php. This problem also occur using Prostar Template.  I would like to ask for help in solving this problem.  Regards, Greg")*

Hi Nicolas, I’ve tried to check PHP error logs on my server but I didn’t find any detail information regarding 500 internal server error. The only information I have found with “500” I’ve sent to you via contact form.
I have asked my server provider for checking PHP error logs and I will be back with this information to you.

Regards,
Greg

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5ODgxMS1wcm9ibGVtLXdpdGgtZmlsdGVycy1yZXNldD9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86576
- Thank you received: 14320
-
-

6 years 10 months ago [\#314732](#314732) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[problem with filters reset](/forum/45-filters-search/898811-problem-with-filters-reset#314732 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.14  Hi, I have problem with proper functioning of filters – In fact with filters reset either using Reset Button or using mark “x” for deletable filters. I thought that the problem might be caused by the URL length as discussed on this and I have implemented proposed change in media/com&#95;hikashop/js/hikashop.js – so URL address after filters are set looks like that However I did test with more number of products which caused pagination of product listing. After I change the page from the first 12 items to see another page (for example to the next 12 items) URL structure is changing and include filter parameters and it looks like that: – although this URL is very short and shouldn't cause a problem  Then after I use Reset Button filters are reset and full product listing is presented but filters in the Hikashop Filter Module are still presented as they were set (I am attaching an image).  I checked message in Console and it looks like below (no error message is reported in everything.php file from System Debug):  I have no customization in filter.php. This problem also occur using Prostar Template.  I would like to ask for help in solving this problem.  Regards, Greg")*

Hi,

I got your message but what you gave is the apache access log, not the PHP error log and thus it doesn't provide much information on the issues besides the fact that there was a 500 HTTP error status returned (which we already knew from replicating the issue on your website).
So yes, we'll definitely need the PHP error log to get the real error message behind the issue and understand what is going on.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5ODgxMS1wcm9ibGVtLXdpdGgtZmlsdGVycy1yZXNldD9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")**
- [![Greg&#95;C's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57819-greg-c "View Greg&#95;C's Profile") Topic Author
- [ Offline](/forum/user/57819-greg-c)

Less More

- Posts: 141
- Thank you received: 3
-
-

6 years 10 months ago [\#314818](#314818) by [Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")  Replied by *[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")* on topic *[problem with filters reset](/forum/45-filters-search/898811-problem-with-filters-reset#314818 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.14  Hi, I have problem with proper functioning of filters – In fact with filters reset either using Reset Button or using mark “x” for deletable filters. I thought that the problem might be caused by the URL length as discussed on this and I have implemented proposed change in media/com&#95;hikashop/js/hikashop.js – so URL address after filters are set looks like that However I did test with more number of products which caused pagination of product listing. After I change the page from the first 12 items to see another page (for example to the next 12 items) URL structure is changing and include filter parameters and it looks like that: – although this URL is very short and shouldn't cause a problem  Then after I use Reset Button filters are reset and full product listing is presented but filters in the Hikashop Filter Module are still presented as they were set (I am attaching an image).  I checked message in Console and it looks like below (no error message is reported in everything.php file from System Debug):  I have no customization in filter.php. This problem also occur using Prostar Template.  I would like to ask for help in solving this problem.  Regards, Greg")*

Hi Nicolas, I have discussed this issue with my hosting provider (home.pl – very popular hosting provider in Poland). They informed me as following:
a) errors.log file doesn’t contain any error information
b) they checked that only in Google Chrome in the Console is information indicated error 500 but for example on Firefox there is no information regarding error 500 (however filters doesn’t reset also in Firefox)
c) based on above in their opinion problem is generated between application and browsers and is not related with the server

Regards,
Greg

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5ODgxMS1wcm9ibGVtLXdpdGgtZmlsdGVycy1yZXNldD9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")**
- [![Greg&#95;C's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57819-greg-c "View Greg&#95;C's Profile") Topic Author
- [ Offline](/forum/user/57819-greg-c)

Less More

- Posts: 141
- Thank you received: 3
-
-

6 years 10 months ago -  6 years 10 months ago [\#314845](#314845) by [Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")  Replied by *[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")* on topic *[problem with filters reset](/forum/45-filters-search/898811-problem-with-filters-reset#314845 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.14  Hi, I have problem with proper functioning of filters – In fact with filters reset either using Reset Button or using mark “x” for deletable filters. I thought that the problem might be caused by the URL length as discussed on this and I have implemented proposed change in media/com&#95;hikashop/js/hikashop.js – so URL address after filters are set looks like that However I did test with more number of products which caused pagination of product listing. After I change the page from the first 12 items to see another page (for example to the next 12 items) URL structure is changing and include filter parameters and it looks like that: – although this URL is very short and shouldn't cause a problem  Then after I use Reset Button filters are reset and full product listing is presented but filters in the Hikashop Filter Module are still presented as they were set (I am attaching an image).  I checked message in Console and it looks like below (no error message is reported in everything.php file from System Debug):  I have no customization in filter.php. This problem also occur using Prostar Template.  I would like to ask for help in solving this problem.  Regards, Greg")*

Hi Nicolas, I have found that after deletion in product/filter.php the line 111 with the code Code:

$submit = 'window.hikashop.refreshFilters(this);';

filter reset is working properly. So maybe the reason of the problem is the same as discussed on this [ Forum Thread](https://www.hikashop.com/forum/install-update/897927-lack-of-reset-button-in-hikashop-filter-after-4-2-0-update.html) #309158, which was solved by you by adding a patch for that

Regards,
Greg

Last edit: 6 years 10 months ago by [Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5ODgxMS1wcm9ibGVtLXdpdGgtZmlsdGVycy1yZXNldD9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86576
- Thank you received: 14320
-
-

6 years 10 months ago [\#314851](#314851) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[problem with filters reset](/forum/45-filters-search/898811-problem-with-filters-reset#314851 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.14  Hi, I have problem with proper functioning of filters – In fact with filters reset either using Reset Button or using mark “x” for deletable filters. I thought that the problem might be caused by the URL length as discussed on this and I have implemented proposed change in media/com&#95;hikashop/js/hikashop.js – so URL address after filters are set looks like that However I did test with more number of products which caused pagination of product listing. After I change the page from the first 12 items to see another page (for example to the next 12 items) URL structure is changing and include filter parameters and it looks like that: – although this URL is very short and shouldn't cause a problem  Then after I use Reset Button filters are reset and full product listing is presented but filters in the Hikashop Filter Module are still presented as they were set (I am attaching an image).  I checked message in Console and it looks like below (no error message is reported in everything.php file from System Debug):  I have no customization in filter.php. This problem also occur using Prostar Template.  I would like to ask for help in solving this problem.  Regards, Greg")*

Hi,

I'm not sure what you mean. There is no such line of code on line 111.
So maybe you also have an old version of the file administrator/components/com_hikashop/classes/filter.php
Similarily, check the version of that file near the beginning. If it's not 4.2.2 then you probably have an old version.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5ODgxMS1wcm9ibGVtLXdpdGgtZmlsdGVycy1yZXNldD9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")**
- [![Greg&#95;C's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/57819-greg-c "View Greg&#95;C's Profile") Topic Author
- [ Offline](/forum/user/57819-greg-c)

Less More

- Posts: 141
- Thank you received: 3
-
-

6 years 10 months ago [\#314874](#314874) by [Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")  Replied by *[Greg\_C](/forum/user/57819-greg-c "View Greg&#95;C's Profile")* on topic *[problem with filters reset](/forum/45-filters-search/898811-problem-with-filters-reset#314874 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.14  Hi, I have problem with proper functioning of filters – In fact with filters reset either using Reset Button or using mark “x” for deletable filters. I thought that the problem might be caused by the URL length as discussed on this and I have implemented proposed change in media/com&#95;hikashop/js/hikashop.js – so URL address after filters are set looks like that However I did test with more number of products which caused pagination of product listing. After I change the page from the first 12 items to see another page (for example to the next 12 items) URL structure is changing and include filter parameters and it looks like that: – although this URL is very short and shouldn't cause a problem  Then after I use Reset Button filters are reset and full product listing is presented but filters in the Hikashop Filter Module are still presented as they were set (I am attaching an image).  I checked message in Console and it looks like below (no error message is reported in everything.php file from System Debug):  I have no customization in filter.php. This problem also occur using Prostar Template.  I would like to ask for help in solving this problem.  Regards, Greg")*

Hi Nicolas, I mean filter.php file which is available in Display - View - Product - Filter. I checked version and it is 4.2.2. I mean code: Code:

$submit = 'window.hikashop.refreshFilters(this);';

which is in the line 111 below the code: Code:

&lt;?php } if($this-&gt;ajax) { if($this-&gt;params-&gt;get('module') == 'mod_hikashop_filter') { $url = hikaInput::get()-&gt;getVar('return_url', hikashop_currentURL()); }

Regards,
Greg

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5ODgxMS1wcm9ibGVtLXdpdGgtZmlsdGVycy1yZXNldD9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86576
- Thank you received: 14320
-
-

6 years 10 months ago [\#314876](#314876) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[problem with filters reset](/forum/45-filters-search/898811-problem-with-filters-reset#314876 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2.14  Hi, I have problem with proper functioning of filters – In fact with filters reset either using Reset Button or using mark “x” for deletable filters. I thought that the problem might be caused by the URL length as discussed on this and I have implemented proposed change in media/com&#95;hikashop/js/hikashop.js – so URL address after filters are set looks like that However I did test with more number of products which caused pagination of product listing. After I change the page from the first 12 items to see another page (for example to the next 12 items) URL structure is changing and include filter parameters and it looks like that: – although this URL is very short and shouldn't cause a problem  Then after I use Reset Button filters are reset and full product listing is presented but filters in the Hikashop Filter Module are still presented as they were set (I am attaching an image).  I checked message in Console and it looks like below (no error message is reported in everything.php file from System Debug):  I have no customization in filter.php. This problem also occur using Prostar Template.  I would like to ask for help in solving this problem.  Regards, Greg")*

Hi,

Ah ok, I see. I was looking at another file.
Removing that file from product / filter.php basically deactivates the ajax on the filter system.
Since you have them along with the products on a full page, deactivating the ajax is fine as it won't change much speed wise. And it will circumvent the issue you have with the ajax request for the refresh of the filter module area returning a 500 error.
So that can indeed be a viable solution for you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5ODgxMS1wcm9ibGVtLXdpdGgtZmlsdGVycy1yZXNldD9zdGFydD0wJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.163 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
