Skip to content

Commit

Permalink
Move stats_rewrite doc
Browse files Browse the repository at this point in the history
  • Loading branch information
arildm committed Jan 22, 2024
1 parent 379545a commit 434a760
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/frontend_devel.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ settings that affect the frontend.
- __news_desk_url__ - See [News widget](#news-widget)
- __visible_modes__ - Integer. The number of modes to show links to. If there are more modes than this value, the rest will be added to a drop-down. Default: `6`
- __statistics_search_default__ - Boolean. Decides if "Show statistics" will be checked or not when loading Korp. Default: `true`
- __stats_rewrite__: A function that takes the array `[data, columns, searchParams]`, modifies and returns it.
- __word_label__ - Translation object. Translations for "word". Add if you need support for other languages. Default:
```
swe: ord
Expand Down Expand Up @@ -524,7 +525,6 @@ parameters for attributes.
sidebar, only the attribute value. This can be used, for example, if the `pattern` for the attribute includes the label but
the label should be shown in the attribute lists of the extended search or statistics.
- **stats_cqp**: See [Rendering attribute values in the statistics view](#rendering-attribute-values-in-the-statistics-view).
- **stats_rewrite**: A function that takes the array `[data, columns, searchParams]`, modifies and returns it.
- **stats_stringify**: See [Rendering attribute values in the statistics view](#rendering-attribute-values-in-the-statistics-view).
- **translation**: An object containing translations of possible values of the attribute, in this format:
```
Expand Down

0 comments on commit 434a760

Please sign in to comment.