Hi, is there an easy way to drop some objects of the result object of the sfLucenePager Object? I have to reduce the number of values which i get with getNbResults. My thoughts are to just get the data of the index.
Before this solution i did a find on the index. After i did run a "filter" over the result object with a foreach loop and did save the pks i need in an extra array. I dropped this array in a Criteria $c->addAnd(MembersPeer::ID, $foundMember, Criteria::IN); I use this criteria to create a new pager object. But i dont think that this would be the best solution bcs. of the several ids in the where clause ( WHERE members.id IN (1,2,3,4,5,6,7...1000). So my next thought is to clean the sfLucenePager Object directly and use it as my template pager, so i don't need the extra pager query. Any help would be really appreciated. Many thanks, Marco - Marco Schierhorn Technical Director ----------------------------------------------- ESV Media GmbH | Meerbuscher Str. 64-78 40670 Meerbusch | Germany Tel. +49 (0)2159 / 9297-930 Fax. +49 (0)2159 / 9297-931 www.esv-group.de | [EMAIL PROTECTED] Geschäftsführer: Heinz Eissing Amtsgericht Neuss | HRB 12902 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---