spraakbanken / korp-frontend

Frontend for Korp, a tool using the IMS Open Corpus Workbench (CWB).
https://spraakbanken.gu.se/en/tools/korp
MIT License
16 stars 8 forks source link

The reduce setting should be reset to "word" if the selected option is removed #384

Closed arildm closed 2 months ago

arildm commented 2 months ago

This testcase from testcases.md fails:

"Compile based on" should not be empty after switching to corpus with other attributes

https://spraakbanken.gu.se/korplabb/#?cqp=%5B%5D&result_tab=2&corpus=vivill&search=word%7Cframtid&stats_reduce=text_party_name&show_stats

  • Follow link
  • "Compile based on" is party
  • Switch corpus to "SUC3"
  • Check that "compile based on" has been reset to word

The "compile based on" setting is instead empty. This is probably since converting to TS in 6de35606