Added support for filter tier by URL

This commit is contained in:
Deukhoofd 2016-03-04 22:05:43 +01:00
parent 47e7b81094
commit 67c81dd7e5
1 changed files with 11 additions and 1 deletions

View File

@ -318,9 +318,19 @@ $("table.table.list").click(function (e) {
})
$(document).ready(function () {
makeObject(function (arr) {
populateTable(arr)
populateTierFilter()
if (window.location.hash) {
tr = window.location.hash
tr = tr.replace("#", "")
filterFunc(arr, tr, false, function (newObj) {
populateTable(newObj);
})
}
else {
populateTable(arr)
}
})
});