aboutsummaryrefslogtreecommitdiff
path: root/app/views/helpers/category/update.phtml
diff options
context:
space:
mode:
authorGravatar stag <x@stag.lol> 2025-12-17 17:46:03 -0500
committerGravatar GitHub <noreply@github.com> 2025-12-17 23:46:03 +0100
commit43a8e1e2d9a52bef0cd3e249d28ebeaab4c03e12 (patch)
treeabc60fb7de470194c5a3cc50146d121dbdca3b86 /app/views/helpers/category/update.phtml
parent00cd5df294c875ea1e00ab2f645a338a6bd92c8e (diff)
Allow negative category sort numbers (#8330)
Closes https://github.com/FreshRSS/FreshRSS/issues/8304 Remove the min=1 attribute so negative numbers can be used to force categories to the bottom
Diffstat (limited to 'app/views/helpers/category/update.phtml')
-rw-r--r--app/views/helpers/category/update.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/helpers/category/update.phtml b/app/views/helpers/category/update.phtml
index 61018a15b..77ee28f4e 100644
--- a/app/views/helpers/category/update.phtml
+++ b/app/views/helpers/category/update.phtml
@@ -31,7 +31,7 @@
<div class="form-group">
<label class="group-name" for="position"><?= _t('sub.category.position') ?></label>
<div class="group-controls">
- <input type="number" name="position" id="position" min="1" value="<?= $this->category->attributeInt('position') ?>" />
+ <input type="number" name="position" id="position" value="<?= $this->category->attributeInt('position') ?>" />
<p class="help"><?= _i('help') ?> <?= _t('sub.category.position_help') ?></p>
</div>
</div>