var ResourceService = require("services/ResourceService");
var UrlService = require("services/UrlService");

Vue.component("item-filter-list", {

    props: [
        "template"
    ],

    created: function()
    {
        this.$options.template = this.template || "#vue-item-filter-list";

        var urlParams = UrlService.getUrlParams(document.location.search);

        ResourceService.getResource("filterParams").set(urlParams.facets.split(","));
    }
});

@@ -361,16 +361,62 @@
 arch);%0A%0A
+        if (urlParams !== null)%0A        %7B%0A    
         
@@ -493,16 +493,26 @@
 (%22,%22));%0A
+        %7D%0A
     %7D%0A%7D)

check if url contains params