Explorar o código

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
stag hai 3 meses
pai
achega
43a8e1e2d9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/views/helpers/category/update.phtml

+ 1 - 1
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>