-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hotfix: Fix proposal index filters that were not working (#595)
* fix: Disable deface override from proposals' index to reenable filters * fix: Move the file to the right place * fix: Add missing js file and fix tests * fix: Add missing feature about caching geocoded proposals * fix: Update to fix the encoding of the link for geocoded proposals
- Loading branch information
Showing
6 changed files
with
36 additions
and
19 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
var $proposals = $('#proposals'); | ||
var $proposalsCount = $('#proposals-count'); | ||
var $orderFilterInput = $('.order_filter'); | ||
|
||
$proposals.html('<%= j(render partial: "proposals").strip.html_safe %>'); | ||
$proposalsCount.html('<%= j(render partial: "count").strip.html_safe %>'); | ||
$orderFilterInput.val('<%= order %>'); | ||
|
||
var $dropdownMenu = $('.dropdown.menu', $proposals); | ||
$dropdownMenu.foundation(); |
This file contains 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
This file contains 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