Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove useless first two lines from search results as CSV #4000

Closed
hauschke opened this issue Sep 2, 2024 · 0 comments · Fixed by #4004 or vivo-project/Vitro#472
Closed

Remove useless first two lines from search results as CSV #4000

hauschke opened this issue Sep 2, 2024 · 0 comments · Fixed by #4004 or vivo-project/Vitro#472
Assignees

Comments

@hauschke
Copy link
Member

hauschke commented Sep 2, 2024

Is your feature request related to a problem? Please describe.
When downloading a CSV from search results, there is a first line a line like "Results from VIVO for searchterm on 8/30/2024", followed by a second an empty line before the CSV header and the content starts. That makes using the CSV harder as necessary.

Describe the solution you'd like
Remove the two respective lines from search-csvResults.ftl, should be around

Results from ${siteName} for ${querytext} on ${todayDate}
.

Describe alternatives you've considered
We could keep it, but I see no reason. It would be better to include the information about search term and date in the filename, e.g. "2024-08-30_VIVO_searchterm.csv" for the search example above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants