Changeset 449
- Timestamp:
- 07/09/12 15:40:46 (12 years ago)
- Location:
- server/trunk/web/lib/Sophie/Controller
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
server/trunk/web/lib/Sophie/Controller/0Explorer.pm
r277 r449 94 94 }, 95 95 { 96 'select' => [ 'contents is NOT NULL as has_content', 'rpmfilesmode(mode) as perm', @col, '"group"', 97 '"user"' ], 96 'select' => "contents is NOT NULL as has_content, 97 rpmfilesmode(mode) as perm, " . join( ', ', @col) . ", \"group\", 98 \"user\"", 98 99 as => [ qw(has_content perm), @col, 'group', 'user' ], 99 100 order_by => [ 'pkgid' ], -
server/trunk/web/lib/Sophie/Controller/Admin.pm
r434 r449 26 26 27 27 $c->forward('/begin'); 28 }29 30 =head2 index31 32 =cut33 34 sub index :Path :Args(0) {35 my ( $self, $c ) = @_;36 37 $c->response->body('Matched Sophie::Controller::Admin in Admin.');38 28 } 39 29 … … 455 445 } 456 446 457 sub help : private {447 sub help : Private { 458 448 my ( $self, $c, $cmd ) = @_; 459 449 my $ctx = $c->session->{admin_ctx} || ''; -
server/trunk/web/lib/Sophie/Controller/Search/Rpms.pm
r372 r449 146 146 $searchspec ||= {}; 147 147 148 $c->stash->{rs} = 149 $c->forward('rpms_rs')->search({ 150 -nest => \[ 151 "Rpmfiles.added > '1970-01-01'::date + ?::interval", 152 [ plain_text => "$date seconds" ], 153 ], 154 }); 148 $c->stash->{rs} = $c->forward('rpms_rs')->search( 149 \[ "Rpmfiles.added > '1970-01-01'::date + ?::interval", 150 [ plain_text => "$date seconds" ], 151 ] 152 ); 155 153 } 156 154
Note: See TracChangeset
for help on using the changeset viewer.