19 Jun
2008
19 Jun
'08
6:45 p.m.
--On 19. Juni 2008 20:35:29 +0200 Dieter Maurer <dieter@handshake.de> wrote:
Tres Seaver wrote at 2008-6-15 16:18 -0400:
...
The Catalog tab in my catalog says this:
The catalog "mycatalog" contains 30,345 record(s) in the path "/".
But when I sort and return a list of cataloged objects I only have 19,881.
Here is the script call to retrieve the records:
context.mycatalog.search( {}, sort_index='lastname' )
Why don't the numbers match up?
Some of your objects don't have a 'lastname' attribute, and so when sorting, they get dropped.
Should we not consider this a bug and fix it?
+1 for the bug prospective :-) Andreas