Support Article

Record count does not chang in Listview after applying filter

SA-28315

Summary



Record count in listview ("Displaying n records") does not change after applying filter in any column of the listview. 
It always displays initial record count although the actual record count has changed after applying the filter.


Error Messages



Not applicable


Steps to Reproduce



1. Create a listview rule. 
2. Select filter, record count to display.
3. Run the listview and note record count.
4. Apply filter on any column. Record count still remains the same though actual record count has changed.


Root Cause

List View filter action that does not have paging enabled, does not call tools.getDatabase().executeRDB() function, which is responsible for fetching updated record count.

  

Resolution



Listview rules are deprecated. And it is suggested to use Report Definition. 

Published September 22, 2016 - Updated October 3, 2016

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.