Fixing filtering by card type.

This commit is contained in:
marcins78
2014-07-28 10:33:13 +00:00
parent c8e6be0914
commit 767ea2f77f

View File

@@ -55,7 +55,7 @@ var GempLotrDeckBuildingUI = Class.extend({
this.cardFilter = new CardFilter($("#collectionDiv"), $("#collectionDiv"),
function (filter, start, count, callback) {
if (!that.specialSelection) {
filter = "cardType:-THE_ONE_RING " + filter;
filter = filter + " cardType:-THE_ONE_RING";
}
that.comm.getCollection(that.collectionType, filter, start, count, function (xml) {
callback(xml);