OS Property support center

Backend-Manage cities can't go next page

  • Stephen
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
7 years 7 months ago #103123 by Stephen
Hi
I have an starnge issue in backen under Manage cities.
When clicking on next page (the same goes for last page or any number) it won't take me to the next page it just stands on the first page.

Any idea what causes this issue?

Regards
Stephen

If the problem can be solved why worry? If the problem can not be solved, worrying will do you no good.

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

More
7 years 7 months ago #103124 by Mr. Dam
Replied by Mr. Dam on topic Backend-Manage cities can't go next page
Hi Stephen,
I confirm the issue, to solve the problem, please follow these steps:
1. Open file: root > administrator > components > com_osproperty > classes > city.php
2. Find:
Code:
$limitstart = $mainframe->getUserStateFromRequest('city_list.filter.limitstart','limit_start',0);
and replace by
Code:
$limitstart = $jinput->get('limitstart',''); if($limitstart == ""){ $limitstart = $mainframe->getUserStateFromRequest('city_list.filter.limitstart','limit_start',0); } $mainframe->setUserState('city_list.filter.limitstart',$limitstart);

Good luck
Dam

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

  • Stephen
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
7 years 7 months ago #103155 by Stephen
Replied by Stephen on topic Backend-Manage cities can't go next page
Hi
I'm sorry but I'm not able to find that code mentioned above.

The only one that I found was on line 405, but it does not match your suggested code.
And replacing it with the one you suggest does not work.

If the problem can be solved why worry? If the problem can not be solved, worrying will do you no good.
Attachments:

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

More
7 years 7 months ago #103156 by Mr. Dam
Replied by Mr. Dam on topic Backend-Manage cities can't go next page
Hi Stephen,
Please submit ticket and i will help you to fix this issue
Thanks
Dam

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

Moderators: Mr. DamNguyen Phu Quan