OS Property support center

Extra Field List - More than 20 bug

  • connorlong
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 3 weeks ago #61704 by connorlong
Extra Field List - More than 20 bug was created by connorlong
Hi

If you add more than 20 extra fields to a category, item 21 goes to the next page. But you are not able to change the sort order of item 21 as it is seen as the first item, but it is item 21.
Hope this makes sense?

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

More
10 years 3 weeks ago #61708 by Mr. Dam
Replied by Mr. Dam on topic Extra Field List - More than 20 bug
Hi,
To solve the issue, please follow these steps
1. Open file: administrator > components > com_osproperty > classes > extrafield.php
2. Find
$filter_order = JRequest::getVar('filter_order','b.group_name');
$filter_order_Dir = JRequest::getVar('filter_order_Dir','');

and this code at the bottom
$lists = $filter_order;
$lists = $filter_order_Dir;

Good luck
Dam
The following user(s) said Thank You: connorlong

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

Moderators: Mr. DamNguyen Phu Quan