diff --git a/public/js/tiers.js b/public/js/tiers.js index 63ee300..d35b766 100644 --- a/public/js/tiers.js +++ b/public/js/tiers.js @@ -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) + } }) }); \ No newline at end of file