Extra fields ordering without hacking core file [model file using extra_fields]

  • agan E
  • agan E's Avatar Topic Author
  • Offline
  • New Member
8 months 2 weeks ago - 8 months 2 weeks ago #173845 by agan E
Hi Fotis,

Can we expect extra field ordering option in upcoming update. currently we can't done it without hacking core file like the following:
File path: model/itemlist.php

case 'alpha' :
$orderby = 'i.extra_fields DESC';

you mentioned something like "I'll note it down to add a re-order option in the coming versions." in the following tread but last update(K2 v2.10.1) not having this feature. and also not in "What's next" (v2.10.2) .

I'm eagerly waiting for this feature. looking forward to your reply with fingers crossed.

Last edit: 8 months 2 weeks ago by agan E. Reason: grammar correction

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

  • Fotis
  • Fotis's Avatar
  • Away
  • Administrator
  • JoomlaWorks Support Team
8 months 1 week ago #173868 by Fotis
Re-ordering by extra fields as you mention is not really practical because the data that is held in that field is basically an array of JSON objects.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory:

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

Powered by Kunena Forum