Opened 13 years ago
Closed 13 years ago
#173 closed enhancement (fixed)
Convenient self-service way to generate group listing <select>
Reported by: | adehnert | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | Sometime |
Component: | Reporting | Version: | |
Keywords: | Cc: | ||
Size: | small |
Description
DB maintainers can use the command "groups/format_groups.py midway" to generate a list of groups suitable for inclusion into an HTML <select> tag. For non-DB maintainers, a cronjob runs it regularly and sticks the output in /mit/asa-db/data/db-dump/midway_groups.html. If somebody who isn't a DB maintainer wants a slightly different set of groups, though, they're out of luck. This is unfortunate.
One approach: The reporting interface could grow a "field" that generates an appropriate <option> tag for each group it lists. By outputting as CSV with the status and class fields, it would be relatively easy to filter the right rows in Excel, without needing to use CONCATENATE or strip quotes or whatnot, and hopefully with a reduced risk of smartquotes (see https://diswww.mit.edu/menelaus/asa-internal/15919 for Lemur's struggles with this).
Change History (1)
comment:1 Changed 13 years ago by adehnert
- Resolution set to fixed
- Status changed from new to closed
Fixed in commit 3cb9b1ee08407edea776c76f2f45a46ef5c045cc: