- Timestamp:
- 05/26/16 16:35:15 (8 years ago)
- Location:
- trunk/LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web/Controller
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web/Controller/Json/List.pm
r1410 r1771 29 29 30 30 my @objects = $base->list_objects($otype); 31 if (my $term = $c->req->param('term')) { 32 @objects = grep { /\E$term\Q/ } @objects; 33 } 31 34 32 35 $c->stash->{data} = \@objects; 36 #[ map { { label => $_ } } @objects ]; 33 37 34 38 }
Note: See TracChangeset
for help on using the changeset viewer.