ArctosDB / arctos

Arctos is a museum collections management system
https://arctos.database.museum
60 stars 13 forks source link

Search by check containers in identifiers table in Object Record should search container types #6108

Open campmlc opened 1 year ago

campmlc commented 1 year ago

Problem: Search by check containers in identifiers table in Object Record not finding all containers Example: I click on check containers in https://arctos.database.museum/guid/MSB:Para:35971 I expect the search to show me all containers with a label containing: NK 269357 % But I only see host tissues, not the parasite vial. However, if I go down to the parasite parts, and click on the barcode associated with the part, I do have the container show up, with the label "NK 269357 endo". I've relabed the container thinking perhaps there is some extra space or other hidden character impeding the search, but it still doesn't work. And this is happening with other endoparasite records too, including for example: https://arctos.database.museum/guid/MSB:Mamm:288991 [ A3MXO ] NK 270505 cestode (vial)

It appears to be only the endoparasite vials that are having this problem, as other tissues and ectos show up in the search? Is there some non-printing character or something else obvious that I'm missing?

Priority: reasonably high, as I not only miss finding critical samples but have to spend much more time searching for them in alternate ways. Screenshot 2023-04-07 10 53 02 8a.png)

Screenshot 2023-04-07 10 49 20

Screenshot 2023-04-07 10 48 54

campmlc commented 1 year ago

But if I enter the search manually in the object tracking Find Container label field as "NK 269357 endo" or as "NK 269357 %" - the container shows up, along with the other host tissue samples. Screenshot 2023-04-07 11 14 04

dustymc commented 1 year ago

by request:

Screenshot 2023-04-07 at 1 06 38 PM
campmlc commented 1 year ago

That doesn't answer my question. The search that is failing is the link from the catalog record identifiers table - the "search containers" link. So I don't even see the Find Containers options from that page and click button.

I don't remember requesting that the search be specific to container type - can you provide the request issue?

Regardless, I need the search from "search containers" to work as it always has worked and show all the containers with that content in the label.

campmlc commented 1 year ago

This is important because we need to be able to find all containers with the search criteria in the label - including different container types - from the "search containers" tool. And if we explicitly have to select different container types, there needs to be a separate tool in "Find Container" to "show all container types".

Jegelewicz commented 1 year ago

@campmlc is this still a problem? I just tried the example above and it worked for me - can we close this?

campmlc commented 1 year ago

It's still a problem, and I believe it is a simple fix of just changing the settings that currently restrict to "cryovial" to allow a search on any container that matches the NK 269357 % label search parameter.

by request: Screenshot 2023-04-07 at 1 06 38 PM

Jegelewicz commented 1 year ago

I see.

@dustymc the "check container" button shouldn't use any container type because stuff could be in any type of container. Can we change that?

mkoo commented 1 year ago

@dustymc the "check container" button shouldn't use any container type because stuff could be in any type of container. Can we change that?

Expected behavior is not matching the current function. Can this be changed as described above?

Jegelewicz commented 4 months ago

What's the status on this - seems like it should be a simple fix?