Closed arildm closed 6 months ago
For the sidebar, this addition to the attribute config should be enough @MartinHammarstedt:
"sidebar_component": "expandList",
The display and row-merging in the statistics table looks like it's hard-coded in statistics_config.js
, I'll look into that.
I fixed some stuff. Now we can use this instead of the comment above @MartinHammarstedt:
"sidebar_component": {
"name": "expandList",
"options": {
"internal_search": true,
"op": "highest_rank"
}
},
Looks like it works as expected now. Deployed to korplabb atm.
Aside from the corpus-config edit mentioned above, I did these::
And in the korp-frontend-sb repo:
In Markus' example link, the generated sub-queries are too long (when clicking a word in the statistics table) for the top words, so there is an error. But scroll down to "Dessutom" with 264 hits and it works fine. Created a follow-up issue for that here:
Markus wrote:
This goes for the statistics table as well as the KWIC sidebar.
Perhaps related to:
332
264