sfu-dhil / wphp

Women's Print History Project database front end.
https://womensprinthistoryproject.com/
GNU General Public License v2.0
1 stars 8 forks source link

CSV export (and others) not working for search results #265

Closed kkatemoffatt closed 3 years ago

kkatemoffatt commented 3 years ago

Describe the bug Unable to export search results as a CSV file.

To Reproduce Steps to reproduce the behavior:

  1. Go to "Database" and click "Search titles"
  2. Click on 'Advanced search'
  3. Scroll down to genres and select 'travel/tourism/topography' and then click 'search'
  4. The error is that we don't get a CSV file of search results - it brings up a page with a strange header, and then all of the results in plain text. See screenshot.

Expected behavior We should get a CSV file of search results to download.

Screenshots

export issue 1

Additional context Add any other context about the problem here.