Opened 6 years ago
Last modified 23 months ago
#2090 addressed enhancement
inventory.form_type_code Search on PW2
| Reported by: | Martin Reisinger | Owned by: | Kay Kittell |
|---|---|---|---|
| Priority: | medium | Milestone: | Server 2.3.11 |
| Component: | Public Website 2 | Version: | N/A |
| Severity: | Keywords: | interface, search | |
| Cc: | mar@… | Database Engine: | N/A |
| Operating System: | N/A |
Description
Would it be possible to search on the web by inventory.form_type_code?
Request from an international GG genebank.
Change History (11)
comment:1 by , 6 years ago
| Summary: | inventory.form_type_code SEarch on PW2 → inventory.form_type_code Search on PW2 |
|---|
comment:2 by , 5 years ago
comment:4 by , 2 years ago
| Milestone: | Server Release (TBD) → Server 2.3.11 |
|---|---|
| Status: | new → addressed |
Changed Controls/accadvcriteria to add a search by inventory.distribution_form. Changed web_searchcriteria_item_list_2 and created web_lookup_acc_distribution_search_types_2 to get form_types for display on search page.
comment:5 by , 2 years ago
I tested "Distribution Form" on the advanced search. It works fine.
Could the list include more form types? Like all of the ones distributed by the NPGS within the past five or so years?
( @order_request_item.status_code = 'SHIPPED' OR @order_request_item.status_code = 'INSPECT' )
AND @order_request_item.status_date >= '01-Jan-2020'
AND @order_request.web_order_request_id IS NOT NULL
comment:6 by , 2 years ago
There are 33 options for distribution for. I'm not sure if the first one needs to be there "System inventory type" There are 48 total Germplasm forms.
comment:7 by , 2 years ago
I removed system inventory type. I used distribution_default_form_code. Do we want all 48 germplasm forms or only the distribution default type?
comment:8 by , 2 years ago
The list would be pretty long so the 33 should work - I suppose we can change it if there is some overwhelming need in the future but I don't foresee that
comment:9 by , 2 years ago
"System inventory type" and "Information only" are showing as searchable form types.
Will virtual form types still show up if you use dist_default?
comment:10 by , 2 years ago
Removed system inventory and info only (not yet on dev). What you see in the list is all dist_default (minus those 2). So yes, those show. BUT, they will only return results if there are inventory records with those types. It can't use the virtual inventory logic yet since it's still in testing. Will probably have to make some changes once that gets put into production, if it's possible to do so.
comment:11 by , 23 months ago
Verified on prod in January 1, 2025 - GG Server Release 2.3.11
Still shows "system inventory type" and "information only"

I think so. Should we put this to the AdCom?