Allow to emulate natural sorting on SQLite databases

This commit is contained in:
Jan Böhmer 2024-06-18 00:09:44 +02:00
parent 289c9126d0
commit 272fe0516b
5 changed files with 84 additions and 0 deletions

View file

@ -16,6 +16,8 @@ parameters:
partdb.default_uri: '%env(string:DEFAULT_URI)%' # The default URI to use for the Part-DB instance (e.g. https://part-db.example.com/). This is used for generating links in emails
partdb.db.emulate_natural_sort: '%env(bool:DATABASE_EMULATE_NATURAL_SORT)%' # If this is set to true, natural sorting is emulated on platforms that do not support it natively. This can be slow on large datasets.
######################################################################################################################
# Users and Privacy
######################################################################################################################
@ -145,3 +147,5 @@ parameters:
env(HISTORY_SAVE_NEW_DATA): 1
env(EDA_KICAD_CATEGORY_DEPTH): 0
env(DATABASE_EMULATE_NATURAL_SORT): 0