mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-06-25 11:37:22 +02:00
Fixed alias research
This commit is contained in:
@ -46,7 +46,7 @@ function refreshBalance() {
|
||||
function getMatchedNotes(pattern, fun) {
|
||||
getJSONSync("/api/note/alias/?format=json&alias=" + pattern + "&search=user|club&ordering=normalized_name", function(aliases) {
|
||||
aliases.results.forEach(function(alias) {
|
||||
fun(alias, alias.note);
|
||||
fun(alias.note, alias);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user