Support closed from the 8 August 2022 to the 19 August 2022

The support will be closed.

We will come back the 22 August 2022.

Best regards.

Search in support tickets

#966 – Root Category ID (Advaced Search)

Posted in ‘Support’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Friday, 01 October 2021 12:44 CEST
In the module "Advaced Search" I put an id in "Root Category ID" and when you do a search it does not respect it. Looks for me in all categories.
Custom Fields
Joomla Version
PHP Version
Product Version
Friday, 01 October 2021 13:48 CEST

Did you also limit by a root category in the menu item of the result page ?

Be careful, the root id is different than the category id. The root id will limit all ads pages as if the root category id is the root of all ads.
That mean that no other ads than the one belonging to children of the root cateogy will appear.

Best regards.
Thursday, 07 October 2021 12:24 CEST
I have fixed it by javascript. When I limit by the root category in the menu item, by js I go by default that category and cancel the rest of the categories.
Thank you.

if (window.location.href.indexOf ("offers")> -1) {
$ ("# catid-120"). val (24);
$ ("# catid-120"). find ("option [value = 31]"). remove ();
$ ("# catid-120"). find ("option [value = 29]"). remove ();
$ ("# catid-120"). find ("option [value = 26]"). remove ();
$ ("# catid-120"). find ("option [value = '']"). remove ();
Thursday, 07 October 2021 13:08 CEST

Ok, if it works.

Best regards.
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.