Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: [SOLVED] Why aren't locations coming up in order?

[SOLVED] Why aren't locations coming up in order? 13 years 1 month ago #15544

  • templecon
  • templecon's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 0
DT Register 2.7.10.

When I enter locations into the system, they do not show in up the dropdown the order in which I put them in. I went to the table and checked to make sure they ID numbers are in ascending order.

I'm not sure why DT register has chosen the order it has. It is not ascending or descending by ID or Name. I would've expected one or the other.

There's also no way to rearrange the order in the front end.

Help?

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

[SOLVED] Why aren't locations coming up in order? 13 years 1 month ago #15551

  • templecon
  • templecon's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 0
Is there an answer to this?

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

[SOLVED] Why aren't locations coming up in order? 13 years 1 month ago #15657

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
Upgrade to the new 2.7.11 and you'll find locations are now listed in alphabetical order.

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

[SOLVED] Why aren't locations coming up in order? 13 years 3 weeks ago #15730

  • evie
  • evie's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 17
  • Thank you received: 0
i did upgrade but my locations are not coming up in alphabetical order. do i have to set something?

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

[SOLVED] Why aren't locations coming up in order? 13 years 3 weeks ago #15735

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
What we modified was all of the dropdown selections and filters that show the locations. Realizing we did not do this for the list of locations when MANAGING them. If this is what you are referring to, you can modify this file:
/administrator/components/com_dtregister/views/locations/tmpl/list.php

Towards the top of the file you'll find:

$sql = "Select SQL_CALC_FOUND_ROWS * from #__dtregister_locations";

Change it to:

$sql = "Select SQL_CALC_FOUND_ROWS * from #__dtregister_locations order by name";

Same can be done on the frontend locations management file if you are using the frontend Control Panel. Same directory, just not in the /administrator area.

The next package update will include this adjustment.

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

[SOLVED] Why aren't locations coming up in order? 13 years 3 weeks ago #15738

  • evie
  • evie's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 17
  • Thank you received: 0
thank you. i will try that.

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

  • Page:
  • 1
Time to create page: 0.287 seconds