Empty categories in search

  • Bjoern Graezer
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
18 hours 9 minutes ago - 17 hours 39 minutes 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
Last edit: 17 hours 39 minutes 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.

More
15 hours 52 minutes 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

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

  • Bjoern Graezer
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
15 hours 40 minutes 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.

More
15 hours 15 minutes 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

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

  • Bjoern Graezer
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
14 hours 55 minutes ago - 14 hours 54 minutes 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: 14 hours 54 minutes ago by Bjoern Graezer. Reason: Typing mistake

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

More
12 hours 17 minutes 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

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

  • Bjoern Graezer
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 hours 46 minutes 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

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

More
1 hour 14 minutes 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

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

Moderators: Tuan Pham Ngoc