diff --git a/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gemp-002/cardFilter.js b/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gemp-002/cardFilter.js index 71c5c1a20..3aeacc9aa 100644 --- a/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gemp-002/cardFilter.js +++ b/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gemp-002/cardFilter.js @@ -48,6 +48,10 @@ var CardFilter = Class.extend({ this.getCollection(); }, + setType: function(typeValue) { + $("#type").val(typeValue); + }, + buildUi: function(elem) { var that = this; diff --git a/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gemp-002/merchantUi.js b/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gemp-002/merchantUi.js index cf03a434b..6d0908571 100644 --- a/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gemp-002/merchantUi.js +++ b/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gemp-002/merchantUi.js @@ -36,6 +36,8 @@ var GempLotrMerchantUI = Class.extend({ function() { that.finishList(); }); + this.cardFilter.setType("card"); + this.cardFilter.setFilter("type:card"); this.cardsDiv = cardListElem; this.cardsGroup = new NormalCardGroup(this.cardsDiv, function(card) {