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