Order categories different in front & back office

  • Graines
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 5 months ago - 9 years 5 months ago #72765 by Graines
Hi,
In my search events module (the dropdown one), in front office, the order of my categories (& subcategories) too is different of the order of categories in my back office. Please look the attachments.
In front office, the order is alphabetical.
Is it possible to have the order of my back office please ? it's the good one. :)

Thank you by advance
Best regards
Philippe
Attachments:
Last edit: 9 years 5 months ago by Graines.

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

More
9 years 5 months ago - 9 years 5 months ago #72766 by James Riley
Replied by James Riley on topic Order categories different in front & back office
Just a note of clarification for when the Developers see your post later in the day: "front [strike]office[/strike] end" and "back [strike]office[/strike] end".

James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Last edit: 9 years 5 months ago by James Riley.
The following user(s) said Thank You: Graines

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

More
9 years 5 months ago #72831 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Order categories different in front & back office
Hi

I am sorry. I think this is a bug in the module. Right now, in the search module, categories are ordered by name. If you want to order it by ordering, please change the code a bit:

1. Open the file modules/mod_eb_search/mod_eb_search.php

2. Find the code below:

->order('name');


3. Change it to:

->order('ordering');


After that, it should work as expected

Regards,

Tuan
The following user(s) said Thank You: Graines

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

  • Graines
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 5 months ago #72856 by Graines
Hi,
Great ! It works ! ;)
Thank you very much for your help.
It's perfect ! :)

Have anice day.

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

More
9 years 5 months ago #72909 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Order categories different in front & back office
Great. Thanks for confirming :)

Tuan

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

Moderators: Tuan Pham Ngoc