Permalink
Browse files

Merge branch 'master' of git://github.com/djcp/covered

  • Loading branch information...
2 parents f17c36b + 468df36 commit 7204d1a8cfe12d8ca2d0ece1dd35c87f9ccd002b @ao5357 ao5357 committed Apr 5, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 javascripts/covered.js
View
@@ -93,9 +93,9 @@ $.extend({
},
formatQuery: function(){
- var query = {facet: 'subject'};
+ var query = 'facet:subject&';
$('.searchable_term').each(function(){
- query[$(this).attr('data_term_searchable')] = $(this).attr('data_term_value');
+ query += 'filter=' + $(this).attr('data_term_searchable') + ':' + $(this).attr('data_term_value') + '&';
});
return query;
}

0 comments on commit 7204d1a

Please sign in to comment.