mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-19 14:36:22 -05:00
The toggle was only the zim.auto_search column, which defaults to on. The database is rebuilt from files and configs, and a Zim's newer version is a new row, so every rebuild and every subscription update turned search back on for every Zim. On a large library the global search then searched all of them. zims.yaml records auto_search for each Zim, keyed by the Zim's name without its date, so a newer version of a Zim is the same Zim. A Zim the file does not name is searched (the default stays on). The config is imported on startup with the usual version gating, saved when the toggle changes, and a newly modeled Zim takes its setting from it. Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_api.py | ||
| test_config.py | ||
| test_lib.py | ||
| test_read_config_value.py | ||
| test_restart_kiwix.py | ||
| test_start_kiwix_serve.py | ||
| test_zim_downloaders.py | ||
| test_zim_modeler_loop.py | ||