Changeset 1082
- Timestamp:
- 07/28/12 09:20:29 (12 years ago)
- Location:
- trunk/LATMOS-Accounts-Web
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web/Model/AttrFilter.pm
r1081 r1082 62 62 } 63 63 64 $c->stash->{objectslist} = [ 65 map { $base->get_object($otype, $_) } 66 @objlist 67 ]; 64 $c->stash->{objectslist} = \@objlist; 68 65 69 66 my $start = $c->req->param('start'); … … 72 69 my @sublist; 73 70 foreach (@{ $c->stash->{objectslist} }) { 74 $initials{substr($_ ->id, 0, 1)} = 1;71 $initials{substr($_, 0, 1)} = 1; 75 72 if ($start) { 76 if (index($_ ->id, $start) == 0) {73 if (index($_, $start) == 0) { 77 74 push(@sublist, $_); 78 75 } -
trunk/LATMOS-Accounts-Web/root/html/includes/list_objects.tt
r1081 r1082 31 31 32 32 [% IF objectslist.size < 20 %] 33 [% FOREACH object = objectslist %] 33 [% FOREACH name = objectslist %] 34 [% object = db.get_object(ofilter.otype, name) %] 34 35 <tr> 35 36 <td>
Note: See TracChangeset
for help on using the changeset viewer.