I have a Iist of 80,000 records of people  (these are all generated test 
data ) stored in a JSON file,  a sample of the names is shown below:

EmpNo   Firstname  Lastname
2949044  Bom Ackbar  
5926741 Sayar Ackbar  
6880068  Knol Ackbar  
9642550 Senni Ackbar  
8919163 Canderous Ackbar  
3969278 Sio Ackbar  
5850995 Ariq Ackbar  
6510943 Rune Ackbar  
When I point my Angular App ( currently set to V1.3.15 - but this seems to 
be consistent behaviour ersions) at the file with 80,000 records the 
default sort order behaves correctly according to what I set in my 
controller : Ascending order of lastname. as per the list above

Here's the relevant HTML ( filtered is my filtered list) 

<tr dir-paginate="item in filtered = ( rows | 
filter:search:strict|limitTo:500 ) | orderBy:predicate:reverse | 
itemsPerPage: pageSize |limitTo:500 track by item.Employee_Number" 
current-page="currentPage">

& in my controller 
  $scope.predicate = 'Last_Name';
  $scope.reverse = 'false';

When I point this at a file containing 90,000 or more records, it all goes 
wrong. Sort order becomes descending & only a few people with each name are 
shown:  ( In the test data, I have over 500 records with lastname = Zapalo, 
but the default behaviour now seems to only show 3)

3368554  Delva Zapalo 
7212131  Karoly Zapalo 
2845659  Pello Zapalo 
4151843  Shayl Windu 
9042355 Tas Windu

How can I make the larger lists display as intended? 


-- 
This transmission is intended for the named addressee(s) only and may 
contain confidential, sensitive or personal information and should be 
handled accordingly. Unless you are the named addressee (or authorised to 
receive it for the addressee) you may not copy or use it, or disclose it to 
anyone else. If you have received this transmission in error please notify 
the sender immediately. All email traffic sent to or from us, including 
without limitation all GCSX traffic, may be subject to recording and/or 
monitoring in accordance with relevant legislation.

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to