The automatically-created data source for eg-combobox when used
in idlClass will now limit itself to 100 entries in order to avoid
scenarios where it attempts to fetch all patrons in the database
or the like.
Sponsored-by: Evergreen Community Development Initiative
Sponsored-by: Georgia Public Library Service
Sponsored-by: Indiana State Library
Sponsored-by: C/W MARS
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
const extra_args = { order_by : {} };
args[field] = {'ilike': `%${term}%`}; // could -or search on label
extra_args['order_by'][this.idlClass] = field;
+ extra_args['limit'] = 100;
if (this.idlIncludeLibraryInLabel) {
extra_args['flesh'] = 1;
const flesh_fields: Object = {};