mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-10-15 05:49:12 +02:00
Merge pull request #1132 from AnonymousRandomPerson/filter-id
Supported searching exact ID match
This commit is contained in:
commit
943693364a
1 changed files with 1 additions and 0 deletions
|
@ -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