Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] Sort by field, order select boxes not working

Option to sort on foreign key no longer exists 02 Jul 2013 21:33 #7810

  • jhallock
  • jhallock's Avatar
  • Offline
  • Senior Member
  • Posts: 43
  • Thank you received: 1
  • Karma: 0
I have a number of grids that display columns from a foreign table. There is no longer an option in the online interface to enable sorting. There used to be. For instance I want to be able to sort "Employees" on "Position -> Label".

Grid columns like that I setup before the option disappeared have the sorting functionality enabled when I download my component, so it is still working - there is just no interface when creating my component online.

This only applies to columns of type "Foreign Key", my string, date and number columns all still have the option to sort.
The administrator has disabled public write access.

Sort by field, order select boxes not working 04 Jul 2013 00:55 #7849

  • jhallock
  • jhallock's Avatar
  • Offline
  • Senior Member
  • Posts: 43
  • Thank you received: 1
  • Karma: 0
The new select boxes that allow the user to change sort order and direction do not work. The following javascript error is thrown in the onchange event:


Uncaught ReferenceError: currentListOrder is not defined joomla.js:7
Joomla.orderTable joomla.js:7
onchange default:320
The administrator has disabled public write access.

Sort Order, Foreign key - PLEASE RESPOND 15 Jul 2013 22:38 #10470

  • jhallock
  • jhallock's Avatar
  • Offline
  • Senior Member
  • Posts: 43
  • Thank you received: 1
  • Karma: 0
I posted a ticket on the 2nd of July that received absolutely no response.

The option to sort list views view on the attribute of a foreign key has disappeared. This functionality is essential to myself and my clients.

For instance, I have the Studies table which has a Facility foreign key. In my grid views, I am displaying Facility -> Label. I would like to be able to sort on Facility -> Label.

This functionality was there before the massive upgrade. Any columns that I set as sortable before the upgrade still export clickable headers, but an error 500 is given when clicking on them.

Do you plan to fix this anytime soon?

Please respond!
The administrator has disabled public write access.

Sort Order, Foreign key - PLEASE RESPOND 05 Aug 2013 17:53 #10684

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Fixed.

Sorry for being late.
Coding is now a piece of cake
The administrator has disabled public write access.
Time to create page: 0.063 seconds

Get Started