Displaying records in treeview

63 views
Skip to first unread message

Mark Smith

unread,
Aug 19, 2019, 9:20:22 AM8/19/19
to AtoM Users
I'm playing around with version 5.2.1 today (we run 2.4 for production) and I see that, in the full-width treeview, only the first 49 records of a collection appear, until you click the 'add more' button.  Does anyone know if there is a way to make all the records in a set display automatically, without the need to click the button, as happens in 2.4?  In a long series of records it is frustrating having to click the button multiple times to get to the bottom of the tree.

Dan Gillean

unread,
Aug 19, 2019, 11:17:32 AM8/19/19
to ICA-AtoM Users
Hi Mark, 

The new behavior you are seeing was added in version 2.5 due to performance issues with the full-width treeview when there is a large amount of immediate child records below the top-level parent. Bascially the tree tries to load everything into memory, which can exhaust the available resources in the browser before all records are loaded, or cause the tree to simply never load. This new functionality was a way to work around this issue. 

It should only kick in when there are more than 50 immediate children beneath the parent record - for example, a collection full of items, with no intermediary levels. If your content is organized into series, for example, this won't generally happen, because the tree can load the lower levels progressively (as the series will be collapsed when first loaded).

At this time, the behavior is not configurable. If you are a developer (or have access to one), you can see the pull request that added this ability to AtoM here, which will show you which files were altered and how: 
Regards, 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory


On Mon, Aug 19, 2019 at 9:20 AM Mark Smith <markrya...@gmail.com> wrote:
I'm playing around with version 5.2.1 today (we run 2.4 for production) and I see that, in the full-width treeview, only the first 49 records of a collection appear, until you click the 'add more' button.  Does anyone know if there is a way to make all the records in a set display automatically, without the need to click the button, as happens in 2.4?  In a long series of records it is frustrating having to click the button multiple times to get to the bottom of the tree.

--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/d57953e6-ce0b-4ba7-969f-262fb7f26011%40googlegroups.com.

Mark Smith

unread,
Aug 19, 2019, 11:45:20 AM8/19/19
to AtoM Users
Thanks Dan.  I understand this better now.  As well as conventional archival collections, arranged into series, we use AtoM to catalogue our book collection.  This consists of a top level description then nearly 5000 immediate children.  So getting to the bottom of that list now takes a bit of time.  We've never run into a problem with loading big sets of records, but I can see why the function has been added.  Might it be a configurable option in the future, do you think?
To unsubscribe from this group and stop receiving emails from it, send an email to ica-ato...@googlegroups.com.

Dan Gillean

unread,
Aug 19, 2019, 1:00:34 PM8/19/19
to ICA-AtoM Users
Hi Mark, 

I think this is something we could make configurable in the future, but it will likely take an institution sponsoring the work for us to be able to implement such an option! 

In case you are unfamiliar with how we develop and maintain AtoM, please see: 
If your institution might be interested in making this configurable and would like an estimate, please feel free to follow up with me off-list. 

Cheers, 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory

To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/6bf2573b-1aa2-43ee-b09e-d7ea4d524bda%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages