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

Time interval: simple input does not work #377

Closed janiemi closed 4 months ago

janiemi commented 4 months ago

If I input years or dates in the Simple input fields of the time interval selector, they are not reflected in the dates shown in the Advanced buttons nor in cqp parameter, so in effect, only the Advanced input seems to work (which I find a bit tedious). I think the Simple input has worked at some point.

Screenshot: screenshot_Korp_SBX_time_interval_simple_20240711

arildm commented 4 months ago

Thanks! Looks like I failed to test the simple input when converting the advanced datetime picker to a component in 587679a35d3ce5f5622034cc161df8f02f0dc1a5.

While fixing this, I also found that the conversion of simple to advanced input was incomplete, so I then also fixed that in bc7fe43d