$prevStart = false;
$nextStart = false;
$start = 1;
- $limit = 3; // Set to the number of listings per page
+ $limit = 1; // Set to the number of listings per page
$namesList = false;
$enable_members = $this->config['settings']['enable_members'];
$textSearch = false;
$list = $listResult['list'];
unset($listResult);
+
+ write_log("\nPrevstart111: " . $prevStart);
+ write_log("\nNextstart111: " . $nextStart);
+
// If we have list entries - even if it's an empty list
$success = true;
$haveMembers = false;
$textSearch = str_replace('\\"', '"', $textSearch );
$textSearch = str_replace('\\', '', $textSearch );
+ $this->write_log("\nprevStart : $prevStart");
+ $this->write_log("\nnextStart : $nextStart");
+ $this->write_log("\nlimit : $limit");
+
// Compile template data
$templateData = array(
'testData' => "TEST123",
// listData.filterFeatured = $("input[name='featuredSearch']:checked").length > 0 ? true : undefined;
// listData.filterPending = $("input[name='pendingSearch']:checked").length > 0 ? true : undefined;
listData.pageSelect = $(this).text();
+ listData.prevStart = '{$prevStart}';
+ listData.nextStart = '{$nextStart}';
+ listData.limit = '{$limit}';
+ // listData.nextStart = 'b';
+ // listData.limit = 'c';
console.log(listData);
- // listData.prevStart = '';
- // listData.nextStart = '';
- // listData.limit = '';
Glma.manageMember(
listData,
$("#glm-admin-search-overlay").fadeOut('slow'),