[Archivesspace_Users_Group] Top Container/Location issue

Trevor Thornton trthorn2 at ncsu.edu
Mon Jan 25 12:41:54 EST 2021


With regard to a general fix, here's what I'm seeing:

1. Those search/select fields (where you start typing and see a list of
matching records, then choose the one you're looking for) is using the
default sort column and direction set in the preferences for that record
type. This is the same default sort and direction used for the main lists
of resources, locations, etc. (i.e. what you see when you browse records
before you enter a search term)

2. When 'relevance' is selected as the sort column and the direction is set
to 'ascending', the order of the results is the reverse of what's expected
(most relevant at the end of the list). This seems to be true for all
record types and not just locations.

3. In order for the locations search/select field to work effectively (or
closer to), the default sort column and direction should be "relevance" and
"descending". We've also found this to be true when trying to search
resources by identifier.

4. If the default sort is set that way (relevance descending) the default
record lists (when you browse by resources, locations, etc., before you
enter a search term to filter by) will be in an effectively
arbitrary order. In most cases, the expected sort on these pages would be
by title, ascending.

So the problem seems to be that there is one set of sort defaults that's
being used for 2 different things (for lists and for type-ahead
search/select) which have different requirements. And there is the
secondary issue of relevance sorting going in the wrong direction.

I can create a JIRA ticket for this, but if anyone else can confirm that
what I've said here is really what's going on I'd appreciate the
affirmation.

Thanks,
Trevor



On Mon, Jan 25, 2021 at 11:25 AM Yatsonsky, Nicole <yatsonskyn at uncw.edu>
wrote:

> Thanks, Carrie, for bringing this up! I was going to, as I hadn’t seen
> anyone else mention it and it had been incredibly frustrating that even
> when you type in the exact location it still wouldn’t pull up the correct
> one, but I wasn’t sure if maybe it was just us.
>
>
>
> I tried Trevor’s suggestions on using “Relevance” and “Descending” in
> preferences and it isn’t 100% perfect but it’s much better than it was. I’d
> say about 80% have now come up in the list since, in comparison to hardly
> any before.
>
>
>
> Thanks, Trevor! Maybe there will be a general fix on the backend at some
> point.
>
>
>
> Nicole Yatsonsky, CA
>
> *Special Collections Library Specialist*
>
> *Randall Library*
>
> UNC Wilmington
>
>
>
> *From:* archivesspace_users_group-bounces at lyralists.lyrasis.org <
> archivesspace_users_group-bounces at lyralists.lyrasis.org> *On Behalf Of *Trevor
> Thornton
> *Sent:* Monday, January 25, 2021 11:02 AM
> *To:* Archivesspace Users Group <
> archivesspace_users_group at lyralists.lyrasis.org>
> *Subject:* Re: [Archivesspace_Users_Group] Top Container/Location issue
>
>
>
> *[This email originated from outside of UNCW]*
>
> Hi again-
>
>
>
> I was digging into this a little deeper because the same problem was
> reported later on Friday by one of our staff testing 2.8.1.
>
>
>
> I was wrong when I said the results when searching for a location from a
> top container view were inconsistent with a search from the main locations
> page. In testing it again I found that they were both wrong the same way.
>
>
>
> What I discovered, however, was that, when I search/filter on the main
> locations list, the expected results were actually on the last page, at the
> end, which suggests that the sort direction was wrong. Changing it from
> ascending to descending (in the preferences) fixed the issue for me – I got
> the results I expected, both in the main locations list and when searching
> from a top container.
>
>
>
> My guess is that it's sorting by relevance score (higher score = more
> relevant) rather than relevance rank, so the sort order when using
> 'ascending' is the opposite of what I expected it would be.
>
>
>
> I could still be missing something – let me know if this works for you.
>
>
>
> -Trevor
>
>
>
>
>
> On Sat, Jan 23, 2021 at 4:42 PM Daniels,Carrie <
> carrie.daniels at louisville.edu> wrote:
>
> Thanks, Trevor –
>
> I do love the user preferences options – thanks for the reminder. But you
> are right, it doesn’t solve my problem. Thanks for the ideas, though!
>
> Carrie
>
>
>
>
>
> *From: *<archivesspace_users_group-bounces at lyralists.lyrasis.org> on
> behalf of Trevor Thornton <trthorn2 at ncsu.edu>
> *Reply-To: *"Archivesspace_Users_Group at lyralists.lyrasis.org" <
> archivesspace_users_group at lyralists.lyrasis.org>
> *Date: *Friday, January 22, 2021 at 2:24 PM
> *To: *"Archivesspace_Users_Group at lyralists.lyrasis.org" <
> archivesspace_users_group at lyralists.lyrasis.org>
> *Subject: *Re: [Archivesspace_Users_Group] Top Container/Location issue
>
>
>
> *CAUTION:* This email originated from outside of our organization. Do not
> click links, open attachments, or respond unless you recognize the sender's
> email address and know the contents are safe.
>
> I responded too quickly. We had a similar issue with searching for
> subjects and agents to link to a record, and adjusting the default sort
> column preferences fixed it (when you started typing in a subject or name
> the list of suggestions matched what you typed). But the same doesn't seem
> to be true for searching locations to link to a top container.
>
>
>
> It does do something, though, because the list of results changes when
> that preference changes, but the results aren't what you'd expect, and
> don't match what you get when you use the search filter on the main
> locations page.
>
>
>
> On Fri, Jan 22, 2021 at 1:18 PM Trevor Thornton <trthorn2 at ncsu.edu> wrote:
>
> Hi Carrie-
>
>
>
> In 2.8 the ordering of those results is specified in the preferences,
> which you can get to via the dropdown menu on the top right next to your
> user name. Preferences can be set globally, by repository or by user
> (presumably the more specific ones override the less specific ones but I
> haven't tested that).
>
>
>
> On the preferences page, look for "Location Browse Columns", and under
> that look for "Default Sort Column". Setting that to "relevance" should get
> the locations to sort the way you're used to. By default, they sort
> alphabetically by name.
>
>
>
> -Trevor
>
>
>
> On Fri, Jan 22, 2021 at 12:57 PM Daniels,Carrie <
> carrie.daniels at louisville.edu> wrote:
>
> Hello ArchivesSpace world -
>
>
>
> I’m seeing behavior in version 2.8.1 that I hope is “just” a bug. It’s a
> location issue, but seems to be a little different from the other location
> issues that have already been reported, and I’m wondering if anyone else is
> encountering it.
>
>
>
> When adding a location to a top container, we used to be able to enter
> location coordinates in the Location field in order to bring up a suggested
> list. It wasn’t perfect, but normally the location we were looking for was
> in the first couple suggestions.  Since moving to 2.8.1, this functionality
> seems to be missing. When we enter any of the coordinates, we either get
> the first few entries from the entire list of locations, or we get a more
> random list that includes entries that completely lack matches to the
> coordinate(s) we entered. We can, of course, use the browse function, but
> as others have noted recently, when you are working with many boxes, it
> gets old really fast!
>
>
>
> Thanks,
>
> Carrie
>
>
>
> Carrie Daniels
>
> (she/her/hers)
>
> University Archivist and Director,
>
> Archives & Special Collections
>
> University of Louisville
>
>
>
> _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
> <https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Flyralists.lyrasis.org%2Fmailman%2Flistinfo%2Farchivesspace_users_group&data=04%7C01%7Cyatsonskyn%40uncw.edu%7C78bbd9c84c2b4673ae5d08d8c14a99fc%7C2213678197534c75af2868a078871ebf%7C1%7C0%7C637471873480250510%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ifXhyxFJbltbReR5DSjB1G%2FKpDVP13L3%2F1m2XkokbJ8%3D&reserved=0>
>
>
>
>
> --
>
> Trevor Thornton
>
> Applications Developer, Digital Library Initiatives
>
> North Carolina State University Libraries
>
>
>
>
> --
>
> Trevor Thornton
>
> Applications Developer, Digital Library Initiatives
>
> North Carolina State University Libraries
>
> _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
> <https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Flyralists.lyrasis.org%2Fmailman%2Flistinfo%2Farchivesspace_users_group&data=04%7C01%7Cyatsonskyn%40uncw.edu%7C78bbd9c84c2b4673ae5d08d8c14a99fc%7C2213678197534c75af2868a078871ebf%7C1%7C0%7C637471873480260505%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=%2BV226Xm2lsIt0PHm4ojzp%2FJebkb%2FP7LiC8kvJehPzEc%3D&reserved=0>
>
>
>
>
> --
>
> Trevor Thornton
>
> Applications Developer, Digital Library Initiatives
>
> North Carolina State University Libraries
> _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
>


-- 
Trevor Thornton
Applications Developer, Digital Library Initiatives
North Carolina State University Libraries
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20210125/5093a29f/attachment.html>


More information about the Archivesspace_Users_Group mailing list