{"comment":{"url":"https://api.github.com/repos/OpenFn/OpenFn-Site/comments/13357589","html_url":"https://github.com/OpenFn/OpenFn-Site/commit/9085bf25702448d81896007ea872f05e0ea67b7f#commitcomment-13357589","id":13357589,"user":{"login":"taylordowns2000","id":8732845,"avatar_url":"https://avatars.githubusercontent.com/u/8732845?v=3","gravatar_id":"","url":"https://api.github.com/users/taylordowns2000","html_url":"https://github.com/taylordowns2000","followers_url":"https://api.github.com/users/taylordowns2000/followers","following_url":"https://api.github.com/users/taylordowns2000/following{/other_user}","gists_url":"https://api.github.com/users/taylordowns2000/gists{/gist_id}","starred_url":"https://api.github.com/users/taylordowns2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taylordowns2000/subscriptions","organizations_url":"https://api.github.com/users/taylordowns2000/orgs","repos_url":"https://api.github.com/users/taylordowns2000/repos","events_url":"https://api.github.com/users/taylordowns2000/events{/privacy}","received_events_url":"https://api.github.com/users/taylordowns2000/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"9085bf25702448d81896007ea872f05e0ea67b7f","created_at":"2015-09-22T02:39:03Z","updated_at":"2015-09-22T02:39:03Z","body":"@suninthesky , just realized that there's one bit of functionality that wasn't transferred over from the original page: the recalculation of the \"count\" next to each tag as tags are clicked.\r\n\r\nCheck out the master branch. In marketplace/index.html you see this at line 61:\r\n```\r\n<li style=\"cursor: pointer\" class=\"list-group-item\" ng-repeat=\"tag in tags | filter:{tag_category_id: category.id }  | orderBy: '-taggings_count'\"  ng-click=\"tagFilter(tag)\"  ng-model=\"tag.active\" btn-checkbox ng-class=\"(((tag.taggings_count == 0)&&(!tag.active))||(isLoading)) ? 'better-button-disabled' : 'better-button-able'\">{{tag.name}}<span class=\"badge\">{{tag.taggings_count}}</span></li>\r\n```\r\n\r\nAnd in marketplace_ctrl.js.coffee at line 9, 16, and 50 you see functionality that updates tag counts on the fly, as the user applies more filters. Is it possible to pull this same functionality over to your new, sweet, horizontal filters?\r\n\r\nTaylor"}}