Skip to content

Commit

Permalink
More API spec
Browse files Browse the repository at this point in the history
  • Loading branch information
kohler committed Sep 12, 2024
1 parent 22bc8f8 commit 0a3faec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion etc/apifunctions.json
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@
{
"name": "search", "get": true,
"function": "Search_API::search",
"parameters": ["q", "t", "?sort", "?report"]
"parameters": ["q", "t", "?sort", "?report", "?scoresort"]
},
{
"name": "searchcompletion", "get": true,
Expand Down
2 changes: 1 addition & 1 deletion scripts/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -9825,7 +9825,7 @@ function search_sort_click(evt) {

function scoresort_change() {
var tbl = mainlist();
$.post(hoturl("=api/session"), {v: "scoresort=" + this.value});
$.post(hoturl("=api/session", {v: "scoresort=" + this.value}));
tbl && tablelist_load(tbl, "scoresort", this.value);
}

Expand Down

0 comments on commit 0a3faec

Please sign in to comment.