finished centralization of query creation.

DatasetController.java: changed mapping for simplification
index.html: Changed option text also for simplification
main.js: replaced dedicated query methods for search, sort & filter with a central one, also refactored the url parameter generation process.

Also removed resolved TODOs and added comments
This commit is contained in:
J-Klinke
2024-07-01 12:05:21 +02:00
parent 32ba4995be
commit e5a4b1186e
3 changed files with 28 additions and 60 deletions

View File

@@ -42,8 +42,8 @@
<option>Title Z-A</option>
<option>Stars ↑</option>
<option>Stars ↓</option>
<option>Votes ↑</option>
<option>Votes ↓</option>
<option>Upvotes ↑</option>
<option>Upvotes ↓</option>
</select>
<div class="divider"></div>
<select class="btn flat" id="filter-btn" title="Filter entries">Filter