Opened 4 years ago

Closed 2 years ago

#2768 closed enhancement (fixed)

Remove " " around topname in the case of cultivar in the Excel export from the PW.

Reported by: Lisa Burke Owned by: Kay Kittell
Priority: medium Milestone: Server 2.3.4
Component: Public Website 2 Version: N/A
Severity: Keywords: Topname
Cc: Database Engine: N/A
Operating System: N/A

Description

The problem is that the topname export puts a quote around cultivar names. This will cause all kinds of problems with data matching. The maize team is recommending that these quotes, while probably ok in the web presentation should not be used in the Excel download. We propose the curatorial staff be queried at Ames and if they concur, then the Adcom be asked to consider and vote as to whether it should be there or not.

Attachments (1)

Top name excel issues.pdf​ (167.1 KB ) - added by Lisa Burke 4 years ago.
Topname export

Download all attachments as: .zip

Change History (5)

by Lisa Burke, 4 years ago

Attachment: Top name excel issues.pdf​ added

Topname export

comment:1 by Lisa Burke, 4 years ago

CCB approved

comment:2 by Kay Kittell, 4 years ago

Milestone: → Server 2.3.4
Status: new → addressed

Added script to Script/acctablescript.js, acctablescriptdoi.js,acctablescriptni.js, acctablescriptnidoi.js to replace leading and trailing single quotes with nothing so that when exported, cultivar names do not have them. Also removed printing last column, as it looks the same as the first when printed. When shown, the last column isn't displayed since it's used for sorting purposes only.

Problem. This was tested and worked well in Chrome and Edge, but it does not work in Firefox. Asked in the datatables.net forum, but will probably get the answer that it's "a Firefox thing."

comment:3 by Lisa Burke, 4 years ago

Tested on Firefox and it worked as expected.

comment:4 by Lisa Burke, 2 years ago

Resolution: → fixed
Status: addressed → closed
Note: See TracTickets for help on using tickets.