aboutsummaryrefslogtreecommitdiffhomepage
path: root/routes/preferences.php
diff options
context:
space:
mode:
authorwinter2025-03-30 19:18:51 +0100
committerwinter2025-03-30 19:18:51 +0100
commitb5ec7311ef03232099dd3f8b30298738e1d0937e (patch)
tree2b880f4828c1b4aebc311c1accb84c9f8b3692ae /routes/preferences.php
parentcd10f94269d7dcdd93df9fcda142a1e5a4441ae9 (diff)
allow changing indexable setting
Diffstat (limited to 'routes/preferences.php')
-rw-r--r--routes/preferences.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/preferences.php b/routes/preferences.php
index 8ccf74e..40e41fd 100644
--- a/routes/preferences.php
+++ b/routes/preferences.php
@@ -21,6 +21,7 @@ Router::getInstance()->mount('/fragment/preferences', function (array $args) {
$settings->set('interface.smallUnreadIndicators', $_POST['smallIndicators']);
$settings->set('locale.timezone', $_POST['timezone']);
$settings->set('profile.rssEnabled', $_POST['rssEnabled']);
+ $settings->set('noteDefaults.indexable', $_POST['notesIndexable']);
$saved = true;
}