[Archivesspace_Users_Group] change to record limit for top container report

Steele, Henry Henry.Steele at tufts.edu
Fri Jan 17 13:29:47 EST 2020


Thank you for this information.  This worked.  I looked for that line in the config file default, but it’s great to know that we can add it even if it’s not shown there.

Have a great weekend!

Henry Steele
Systems Librarian
Tufts University Library Technology Services
(617)627-5239

From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> On Behalf Of Majewski, Steven Dennis (sdm7g)
Sent: Friday, January 17, 2020 11:24 AM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] change to record limit for top container report


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<mailto: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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20200117/10658c13/attachment.html>


More information about the Archivesspace_Users_Group mailing list