Last active
August 29, 2015 14:06
-
-
Save bramstroker/e36716c570f3c5ba6cba to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var self = this; | |
$.each(this.filters, function(index, filter) { | |
filter.label = (self.labels[filter.field] && self.labels[filter.field][filter.value]) ? | |
self.labels[filter.field][filter.value] : | |
filter.value; | |
AjaxSolr.theme( | |
'activeFilterListItem', | |
filter, | |
function() { | |
self.removeFilter.call(self, filter); | |
} | |
).appendTo(list); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment