Created
December 13, 2012 21:34
-
-
Save bolstad/4280165 to your computer and use it in GitHub Desktop.
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
diff --git a/wp-content/plugins/wp-views/embedded/res/js/wpv-pagination-embedded.js b/wp-content/plugins/wp-views/embedded/res/js/wpv-pagination-embedded.js | |
index 374c5f8..ca3e616 100644 | |
--- a/wp-content/plugins/wp-views/embedded/res/js/wpv-pagination-embedded.js | |
+++ b/wp-content/plugins/wp-views/embedded/res/js/wpv-pagination-embedded.js | |
@@ -183,6 +183,7 @@ function wpv_pagination_replace_view(view_number, page, ajax, effect, max_pages, | |
data = {}; | |
data = add_url_query_parameters(data); | |
for (var prop in data['get_params']) { | |
+ prop = prop.replace("%5B%5D",""); | |
if (!(jQuery('form[name=wpv-filter-' + view_number + '] > input[name=' + prop + ']').length > 0)) { | |
jQuery('<input>').attr({ | |
@@ -606,4 +607,4 @@ function wpvPaginationQueueTrigger(view_number, next, wpvPaginatorFilter) { | |
window.wpvPaginationQueue[view_number].splice(0, 1); | |
wpv_pagination_replace_view(view_number, page, args[2], args[3], args[4], args[5], args[6], args[7], args[8], args[10]); | |
} | |
-} | |
\ No newline at end of file | |
+} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment