Subversion Repositories SmartDukaan

Rev

Rev 14509 | Rev 14539 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14509 Rev 14517
Line 66... Line 66...
66
		$limit = Configure::read('admindashboardlimit');
66
		$limit = Configure::read('admindashboardlimit');
67
		$offset = ($page - 1)*$limit;
67
		$offset = ($page - 1)*$limit;
68
		$search = urlencode($this->request->query('search'));
68
		$search = urlencode($this->request->query('search'));
69
		$url = $this->apihost."Catalog/searchMaster/?search=$search&limit=$limit&offset=$offset";
69
		$url = $this->apihost."Catalog/searchMaster/?search=$search&limit=$limit&offset=$offset";
70
		$response = $this->make_request($url,null);
70
		$response = $this->make_request($url,null);
71
		// debug($response);
71
		$storemapping = Configure::read('storemapping');
72
		$this->set('masterdata', $response);
72
		$this->set('masterdata', $response);
73
		$this->set(compact('page','search'));
73
		$this->set(compact('page','search','storemapping'));
74
	}
74
	}
75
}
75
}
76
76