This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

Paul N

  • *
  • 4 posts
ITEM LOCATION / CITI
« on: September 26, 2022, 01:50:18 PM »
I have imported the england locations, its showing in admin as fine also with all of the cities.  However when you go into the listing you are unable to select past Citys starting with a C.

Confused how to repair


*

MB Themes

Re: ITEM LOCATION / CITI
« Reply #1 on: September 26, 2022, 03:13:07 PM »
@Paul
Maybe there is limit (too many cities?).
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

adam

  • *
  • 1 posts
Re: ITEM LOCATION / CITI
« Reply #2 on: October 18, 2023, 02:01:12 PM »
I have the same problem in Germany, there are simply too many cities in the Bavaria region. The customer cannot choose anything. Is there already a solution for this?

Marked as best answer by frosticek on October 18, 2023, 03:40:52 PM
*

MB Themes

Re: ITEM LOCATION / CITI
« Reply #3 on: October 18, 2023, 03:40:14 PM »
There is hard limit on oc-includes/osclass/frm/form.form.class.php

Code: [Select]
  protected static function generic_select($name , $items , $fld_key , $fld_name , $default_item , $id, $limit = 2500) {

change that default limit to whatever you need.
New limit in Osclass 8.2.0 will be 4500 entries. Means if you do not want to always change this, make sure your regions has no more than 4000 cities.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots