From f468688945d930d434a22c7f6a7354c03b39ef36 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Fri, 9 Feb 2018 10:00:32 -0500 Subject: [PATCH] adding url get params for the members list alpha and filter search adding url get params so that the page scrolls to the search results of a member list page when searching by alpha links or filter search --- index.php | 6 +++--- readme.txt | 3 +++ views/front/members/list.html | 10 +++++----- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/index.php b/index.php index fce93ad4..233e92e4 100644 --- a/index.php +++ b/index.php @@ -3,7 +3,7 @@ * Plugin Name: GLM Members Database * Plugin URI: http://www.gaslightmedia.com/ * Description: Gaslight Media Members Database. - * Version: 2.10.20 + * Version: 2.10.21 * Author: Gaslight Media * Author URI: http://www.gaslightmedia.com/ * License: GPL2 @@ -19,7 +19,7 @@ * @package glmMembersDatabase * @author Chuck Scott * @license http://www.gaslightmedia.com Gaslightmedia - * @version 2.10.20 + * @version 2.10.21 */ // Check that we're being called by WordPress. @@ -44,7 +44,7 @@ if (!defined('ABSPATH')) { * */ -define('GLM_MEMBERS_PLUGIN_VERSION', '2.10.20'); +define('GLM_MEMBERS_PLUGIN_VERSION', '2.10.21'); define('GLM_MEMBERS_PLUGIN_DB_VERSION', '1.1.32'); // Check if plugin version is not current in WordPress option and if needed updated it diff --git a/readme.txt b/readme.txt index 3f3f1fa6..3cc757bb 100644 --- a/readme.txt +++ b/readme.txt @@ -66,6 +66,9 @@ There is of course much more to this. (none) == Changelog == += 2.10.21 = +* adding url GET params in the member list view to scroll to the search results when clicking on alpha search or filter search + = 2.10.17 - 2.10.19 = * Improve member search in admin. Can now use Back To Search button to return to your last search. Resets when list page is called. diff --git a/views/front/members/list.html b/views/front/members/list.html index 0e4a26c1..0c9affa9 100644 --- a/views/front/members/list.html +++ b/views/front/members/list.html @@ -15,7 +15,7 @@
Close
-
+
{apply_filters('glm-member-db-front-members-list-searchFormTop', '')}
@@ -200,17 +200,17 @@
{if $settings.list_show_search_alpha} {/if} {if $paging}
- Previous page - Next page + Previous page + Next page
showing {$start} through {$lastDisplayed} of {$filteredMembersFound} {/if} -- 2.17.1