mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-09-08 19:36:22 +02:00
Supported searching exact ID match
This commit is contained in:
parent
0659cb8be2
commit
63ed0915d2
1 changed files with 1 additions and 0 deletions
|
@ -422,6 +422,7 @@ function initView(){
|
||||||
value.name.toLowerCase().indexOf(filter) !== -1
|
value.name.toLowerCase().indexOf(filter) !== -1
|
||||||
|| value.description.toLowerCase().indexOf(filter) !== -1
|
|| value.description.toLowerCase().indexOf(filter) !== -1
|
||||||
|| value.subreddit && value.subreddit.toLowerCase().indexOf(filter) !== -1
|
|| value.subreddit && value.subreddit.toLowerCase().indexOf(filter) !== -1
|
||||||
|
|| value.id === filter
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
document.getElementById("atlasSize").innerHTML = "Found "+sortedAtlas.length+" entries.";
|
document.getElementById("atlasSize").innerHTML = "Found "+sortedAtlas.length+" entries.";
|
||||||
|
|
Loading…
Reference in a new issue