Fix incorrect usage of page size preference key
StoryBoard maintains different keys for storing the page size preferences across different pages The page_size key is only for search results, and is not to be used for pagination of the stories list on the project detail page Story: 2001711 Task: 8706 Change-Id: I02903054124984fd55df61bf69c75e05cc91a966 Signed-off-by: Vaishnavi Pamulapati <vaishnavi.p@research.iiit.ac.in>
This commit is contained in:
parent
89b60c35ef
commit
0a023fe05f
|
@ -95,7 +95,7 @@ angular.module('sb.projects').controller('ProjectStoryListController',
|
|||
* Update the page size preference and re-search.
|
||||
*/
|
||||
$scope.updatePageSize = function (value) {
|
||||
Preference.set('page_size', value).then(
|
||||
Preference.set('project_detail_page_size', value).then(
|
||||
function () {
|
||||
pageSize = value;
|
||||
$scope.search();
|
||||
|
|
Loading…
Reference in New Issue