Following on from this post I have learned that there is a limit in the number of documents that appear in the All Documents menu in Cornerstone. Can you explain why there is a limit to the number of documents returned? I nearly had a meltdown thinking some of my pages and components were deleted before I used the filter to show all. Surely the words “All Documents” is slightly misleading…?
Hi @boomfly,
Thanks for reaching out. Default limit is 100 but you can increase the limit by adding the following code in the Child Theme’s functions.php file:
add_filter( 'cs_locator_limit', function() {
return 200;
});
Feel free to change the limit number. Hope this helps!
Hi @nabeel,
Thanks for the code. I’m not seeing a change when this is used. Just to confirm it’s the All Documents panel and the truncated list of Pages. Even if you total up all document areas they are less than 100 so I’m not sure what the cs_locator_limit is returning. Can you tell me what I should see?
Hello @boomfly,
In order to help you with your concerns, we need to check your settings. I would request please share the admin login details meanwhile I would suggest you troubleshoot a few of the common issues before we investigate your settings. Please share your details in a secure note. Please provide the following details
- WordPress Login URL
- Admin-level username and password
You can find the Secure Note button at the bottom of your posts
Thanks
This freaked me out the other day as well. You have to use the drop down “All Documents” to choose what you want to filter by if you want the remainder of the pages to show.
Exactly, glad it wasn’t just me! The list used to show more without having to use the dropdown and I was just wondering if it was possible to change the amount in the list (like it used to be). Hoping that Themeco would explain their reason for changing it.
Hello @boomfly,
I would suggest you go to the Cornerstone->click on the Settings icon->please ensure that you have enabled the "Show All Documents " checkbox. Please have a look at the given screenshot below.
Thanks
Hi @prakash_s, thanks for sharing this. It’s not exactly what we’re looking for as that is an option to show or hide documents that aren’t created in Cornerstone.
I’m guessing we’ll just have to get used to this new method of using the filter in the dropdown next to “All Documents” when have more than the truncated overview allows us to see.
Hey @boomfly,
The limit is there to prevent too many request while working with the builder. That is why, we have 25 items per post types with the “All Documents” selected while displaying 100 items when selecting a specific post type. The search field can be used to display the other items that is not being returned.
I already have mentioned this case to our developers. We already have a discussion about this issue. A few suggestions like having a “Load More” button to load the next 25 items or 100 items or a setting in the builder to set the number of items to be returned by the builder. We may wait for the next version release for this changes to be implemented.
Please bear with us.
Hey @ruenel,
Thanks for your reply. That’s great information to know how it works and what you are planning.
All the best.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.