[rt-users] <kein Betreff>
Jesse Vincent
jesse at bestpractical.com
Wed Apr 26 14:16:37 EDT 2006
Jörg Ungermann wrote:
> We have a urgent issue with search builder:
>
> In an customized Module we used SearchBuilder.
> What is does is: In order to allow People to enter new users we auto generate user Ids and use the Realname fpor display.
>
> In RT 3.4 on Mysql the code worked just fine.
I'd expect it to fail.
> On RT 3.4 on Postgres 8.0 we had the following error:
>
> It seems that SearchBuilder is not capable of getting $users->OrderBy(FIELD=>'id');
>
> Any ideas why this is happening?
>
>
> 282:
> my $users = new RT::Users($session{'CurrentUser'});
>
>
> 283:
> $users->OrderBy(FIELD=>'id');
>
>
You need a $users->UnLimit here.
> 284:
> my $user = $users->Last;
>
>
> 285:
> my $uid = $user->Id+1;
>
>
> 286:
> #my $uid='tst45';
>
>
> 287:
>
>
> 288:
> my $current_tab;
>
>
> 289:
> my $UserObj = new RT::User($session{'CurrentUser'});
>
>
> ...
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: OpenPGP digital signature
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20060426/8610b4a3/attachment.sig>
More information about the rt-users
mailing list