$nextStart = false;
$start = 1;
$limit = $this->config['settings']['list_pagination_count']; // Now this is in management
-
// Check for URL parameter override of shortcode parameters
if (isset($_REQUEST['categorySearch'])) {
$actionData['request']['category-search'] = $_REQUEST['categorySearch'];
} // if doing amenity search
$amenityData = ( is_array( $amenityData ) ) ? array_filter( $amenityData ) : array();
+ $whereParts = apply_filters('glm-member-db-front-search-query', $where);
+ if ( is_array( $whereParts ) && count( $whereParts ) > 0 ) {
+ $where .= $whereSep.implode(" AND ", $whereParts);
+ $whereSep = ' AND ';
+ }
+
// Only look at active member information where the member is displayable (access = 20, 30, 40)
$where .= $whereSep."
(
$resultParam = 'list';
}
- $where = apply_filters('glm-member-db-front-search-query', $where);
/*
* Get a current list of members - unless this is a blank start