Opened 2 years ago

Closed 23 months ago

#2996 closed enhancement (fixed)

Display CT order attachments on PW

Reported by: Stacey Owned by: Kay Kittell
Priority: medium Milestone: Server 2.3.11
Component: Public Website 2 Version: N/A
Severity: Keywords: Order Attachments Web Visible
Cc: Database Engine: N/A
Operating System: N/A

Description

Allow CT order attachments to be externally visible through the PW request history.
The order attach dataview has an "is web visible?" checkbox but it doesn't do anything.

Change History (6)

comment:1 by Kay Kittell, 2 years ago

Milestone: → Server 2.3.11
Status: new → addressed

Changed controls/uploader to include web_visible attachments that were done using the CT to be visible on the PW. Created new dataview: web_order_attachments_CT_2 to handle this requirement.

comment:2 by Stacey, 2 years ago

I see the attachment for existing orders at the bottom of the web detail page when I use "A User's Web Request Detail View" but if I click on the link it takes me to a 404 page.

Tested with DEV web order 66264

​https://npgsdev.ars-grin.gov/gringlobal/uploads/images/https:/npgsweb.ars-grin.gov/gringlobal/uploads/images/order_request_attach/355886/PS%20355886.pdf

comment:3 by Kay Kittell, 2 years ago

yes, I know. Apparently, I have to hard code the entire url in the c# code in order to test it on dev. I'll have the updated version of this in the near future.

comment:4 by Stacey, 2 years ago

Ok! It works fine when I add attachments to my own web request. Can the header indicate that the second group of files are from the CT side? Maybe changing the field names to say "Uploaded File" and "Genebank Provided File" or something similar?

Can you also add a new column that displays the attachment title?

The "Delete" button for the user uploaded files does not remove the attachment from the CT side. I'm sure that's a separate Trac I'll have to submit for Pete to fix. :-)

comment:5 by Stacey, 2 years ago

Works as expected. Thank you for displaying Title if the field is filled in.

To other testers: You can test internal reports like "A web user's view" by clicking the attachment and then changing the web link from npgsdev to npgsweb. :-)

comment:6 by Stacey, 23 months ago

Resolution: → fixed
Status: addressed → closed

Verified on prod in January 1, 2025 - GG Server Release 2.3.11

Note: See TracTickets for help on using tickets.