add the ability to sort notes by folders first, closes #2649

This commit is contained in:
zadam
2022-05-30 20:50:53 +02:00
parent dcf31f8f95
commit f19adf3ee0
4 changed files with 16 additions and 6 deletions

View File

@@ -50,6 +50,17 @@
descending
</label>
</div>
<br />
<h5>Folders</h5>
<div class="form-check">
<input class="form-check-input" type="checkbox" name="sort-folders-first" value="1" id="sort-folders-first">
<label class="form-check-label" for="sort-folders-first">
sort folders at the top
</label>
</div>
</div>
<div class="modal-footer">
<button type="submit" class="btn btn-primary">Sort <kbd>enter</kbd></button>