About The Listing Record Limit

3 posts by 2 authors in: Forums > CMS Builder
Last Post: June 23, 2022   (RSS)

By daniel - June 22, 2022

Hi Tom,

In CMSB 3.54 we added a filter "listFieldOptions_maxResults" that can be used to update this value without having to change core files. You can use a plugin like this to change the value:

<?php
/*
Plugin Name: List Field Max Results
Description: Set custom result limit for list fields that generate options from a CMSB section.
Version: 1.00
Requires at least: 3.54
*/

addFilter('listFieldOptions_maxResults', 'change_listFieldOptions_maxResults');
function change_listFieldOptions_maxResults($currentMax) {
  return 1500;
}
?>

Let me know if that does the trick, or if you have any other questions!

Thanks,

Daniel
Technical Lead
interactivetools.com

By Tom - June 23, 2022

This is perfect.

Thank You