- Posts: 40
- Thank you received: 0
Empty categories in search
- Bjoern Graezer
- Topic Author
- Offline
- Senior Member
-
Less
More
3 weeks 20 hours ago - 3 weeks 20 hours ago #177382
by Bjoern Graezer
Empty categories in search was created by Bjoern Graezer
Hi Tuan,
Is it possible to hide empty categories in the search dropdown?I would appreciate it if you could look into this.
Thanks
Bjoern
Is it possible to hide empty categories in the search dropdown?I would appreciate it if you could look into this.
Thanks
Bjoern
Last edit: 3 weeks 20 hours ago by Bjoern Graezer. Reason: I deleted some incorrect copy/paste information in the question.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
3 weeks 18 hours ago #177388
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Empty categories in search
Hi Bjoern
Yes. But I wonder in what case the categories dropdown is empty. Could you please give me more information ?
Tuan
Yes. But I wonder in what case the categories dropdown is empty. Could you please give me more information ?
Tuan
Please Log in or Create an account to join the conversation.
- Bjoern Graezer
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 40
- Thank you received: 0
3 weeks 18 hours ago #177391
by Bjoern Graezer
Replied by Bjoern Graezer on topic Empty categories in search
I have many pre-defined categories that the event manager can select when setting up an event. I just want the chosen categories to appear in the search/filter drop-down.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
3 weeks 17 hours ago #177392
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Empty categories in search
To make sure I understand your question, could you please send me screenshot of the categories filter dropdown you are talking about ?
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- Bjoern Graezer
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 40
- Thank you received: 0
3 weeks 17 hours ago - 3 weeks 17 hours ago #177395
by Bjoern Graezer
Replied by Bjoern Graezer on topic Empty categories in search
Please see the attached screenshot. If it’s a big effort, don’t worry about it. I have a manual workaround in case it’s not easy.
Last edit: 3 weeks 17 hours ago by Bjoern Graezer. Reason: Typing mistake
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
3 weeks 14 hours ago #177399
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Empty categories in search
Hi Bjoern
Yes. It requires certain effort and also effect performance because we will need to query database to count number of events of each category to exclude categories without events from dropdown
So I would suggest to leave it as how it is for now. If it is really needed, I will try to implement it in next release of the extension
Regards,
Tuan
Yes. It requires certain effort and also effect performance because we will need to query database to count number of events of each category to exclude categories without events from dropdown
So I would suggest to leave it as how it is for now. If it is really needed, I will try to implement it in next release of the extension
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Bjoern Graezer
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 40
- Thank you received: 0
3 weeks 6 hours ago #177404
by Bjoern Graezer
Replied by Bjoern Graezer on topic Empty categories in search
Hi Tuan,
Okay, it would be great to see it in a next release.
Best regards
Bjoern
Okay, it would be great to see it in a next release.
Best regards
Bjoern
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
3 weeks 3 hours ago #177407
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Empty categories in search
OK Bjoern. I will inform you when it is implemented
Regards,
Tuan
Regards,
Tuan
The following user(s) said Thank You: Bjoern Graezer
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
19 hours 51 minutes ago #177743
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Empty categories in search
Just want to update that I implemented this feature and updated it to your site (it requires updating Events Booking to latest package and also update override implemented on your site). Please go to your site to check it and let me know if it works
If someone wants to use this option, download and update your site to latest package of Events Booking. Then go to Events Booking -> Configuration, set Hide Empty Categories In Search Filters config option to Yes and categories without events won't be displayed in categories filter dropdown
Regards,
Tuan
If someone wants to use this option, download and update your site to latest package of Events Booking. Then go to Events Booking -> Configuration, set Hide Empty Categories In Search Filters config option to Yes and categories without events won't be displayed in categories filter dropdown
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Bjoern Graezer
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 40
- Thank you received: 0
13 hours 29 minutes ago #177748
by Bjoern Graezer
Replied by Bjoern Graezer on topic Empty categories in search
Hi Tuan,
Thank you very much for working on this topic — absolutely worth it. It’s working perfectly on the page where you implemented it: ferien-spass.b-vizible.ch .
Unfortunately, it’s not working on the other page, ferien-spass.ch . I applied the update and can also see the new field you added, but the empty categories are not being hidden.
Best regards
Bjoern
Thank you very much for working on this topic — absolutely worth it. It’s working perfectly on the page where you implemented it: ferien-spass.b-vizible.ch .
Unfortunately, it’s not working on the other page, ferien-spass.ch . I applied the update and can also see the new field you added, but the empty categories are not being hidden.
Best regards
Bjoern
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2026 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.