OS Property support center

SOLVED !!! Administrator Limit Property to 20

  • Mark
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 3 months ago - 9 years 3 months ago #75421 by Mark
Hi,
To increase the Properties per page at Back-end side, please follow these steps:
1. Open file: root > administrator > components > com_osproperty > classes > property.php
2. Find:
$mainframe->setUserState('pro_list.filter.limitstart',$limitstart);
$limit = JRequest::getVar('limit',0);
if($limit == 0){
$limit = $mainframe->getUserStateFromRequest('pro_list.filter.limit','limit',20);
}

and change 20 to another number you need.
Thanks
Dam
Last edit: 9 years 3 months ago by Mr. Dam.
The following user(s) said Thank You: Ben

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

  • Mark
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 3 months ago #75423 by Mark
Replied by Mark on topic Administrator Limit Property to 20
i found it.
file is in folder administrator/component/com_osproperty/classes/property.php

search for
= $mainframe->getUserStateFromRequest('pro_list.filter.limit','limit',20);

change to
= $mainframe->getUserStateFromRequest('pro_list.filter.limit','limit',30);

and it shows you 30 properties. So thechange from 20 to 30 is the effect.

Just in case someone else like to change it.
Remember with the next update you have to change that again.
The following user(s) said Thank You: Ben

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

Moderators: Mr. DamNguyen Phu Quan