[Archivesspace_Users_Group] change to record limit for top container report

Majewski, Steven Dennis (sdm7g) sdm7g at virginia.edu
Fri Jan 17 11:24:27 EST 2020

I believe you’re supposed to override this by setting a value in your config.rb file:

AppConfig[:max_top_container_results] = 15000 

You shouldn’t have to override the model if you’re not making any other changes. 

> On Jan 17, 2020, at 9:50 AM, Steele, Henry <Henry.Steele at tufts.edu> wrote:
> Thanks all for your help with my last question about the PUI. 
> I asked this question on Slack, but I’m not sure it was an active channel.
> I'm trying to change this setting in the ArchivesSpace backend model:  [:max_top_container_results] : 10000     I want to raise this limit to 15000, because this would let us retrieve the complete set of our top containers.  I have tried to put an override file in /plugins/local/backend/model/top_container.rb with everything from our existing top_container.rb file that gets loaded in the data directory, with that limit changed.   But when I try to run this report, after about 20 seconds I get an error saying  "We're sorry but something went wrong"
> Is this something I have to write an actual plugin for, or can I just tweak this file somehow?
> Henry Steele
> Systems Librarian
> Tufts University Library Technology Services
> (617)627-5239
> _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org <mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group <http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20200117/efcbafdc/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4974 bytes
Desc: not available
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20200117/efcbafdc/attachment.bin>

More information about the Archivesspace_Users_Group mailing list