Skip to content

Checkboxes for "Search in" not limiting results for Syriac Text search #439

@wlpotter

Description

@wlpotter

Example search "ܟܬܒܐ": https://d2tcgfyrf82nxz.cloudfront.net/search.html?syriacText=%DC%9F%DC%AC%DC%92%DC%90. Same results returned no matter which boxes are checked

The "search in" check boxes are not working. We only want to search the Syriac text fields corresponding to the boxes that are checked and return results if there are any matches in those fields. I.e. if both incipit and explicit are checked, a result should be returned if the string is found in either the incipit or explicit fields.

The data sources are (I think in every case filtering for xml:lang = syr) :

  • Title/Rubric = msItem/rubric
  • Final Rubrics/Subscriptions = msItem/finalRubric
  • Incipits = msItem/incipit
  • Explicits/Desinits = msItem/explicit
  • Colophons = additions/list/item[label/text() = "Colophon"]//quote (any descendant quote, since could be in a item/p)
  • Other = quote in either msItem or in the additions/list/item

We can also discuss of there's a better way of accomplishing this functionality

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

Status

Stakeholder Review

Relationships

None yet

Development

No branches or pull requests

Issue actions