From 374be31b63f6ea0f835495933730358380745a56 Mon Sep 17 00:00:00 2001 From: Pranav Saxena Date: Fri, 13 Jul 2012 12:32:38 +0530 Subject: [PATCH] CS-15572 : StartIndex handled incorrectly when switching between the various Filter by options while listing ISOs in the UI --- ui/scripts/ui/widgets/listView.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ui/scripts/ui/widgets/listView.js b/ui/scripts/ui/widgets/listView.js index b01d01e18b0..60f701bcec9 100644 --- a/ui/scripts/ui/widgets/listView.js +++ b/ui/scripts/ui/widgets/listView.js @@ -1261,6 +1261,10 @@ return true; }); + $listView.find('#filterBy').bind('click',function(event) { + page = 1; //Handling the case to display more than 20 entities on a page while switching between panels + return page; + }); var search = function() { loadBody( $table,