WGBH-MLA/AAPB2

Episode Number Sort Cannot Be Used In Special Collections

foglabs opened this issue · 0 comments

Description

Because cmless's markdown renderer converts underscores surrounding text into html elements, which are subsequently 'cleaned' out of the cmless content before AAPB code can access, the sort field episode_number_sort is automatically converted to episodenumbersort, which is invalid and causes a solr 400 error.

This could be fixed by handling special collection sort orders in a yml file with the same pattern as exhibits.yml.

Reproduction steps

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

No response

Screenshots

![DESCRIPTION](LINK.png)

Browsers

No response

OS

No response

Additional context

No response