Revision 106
- Date:
- 2011/06/15 13:08:05
- Files:
Legend:
- Added
- Removed
- Modified
-
koi8/core/comps/contenido/components/link_browse.msn
23 23 % foreach my $dclass ( @desired_class ) { 24 24 % $m->out (', ') if $i++; 25 25 % if ( $restrict_class eq $dclass ) { 26 <b style="color:olive;"><% $desired_class[0] %></b> 26 <b style="color:olive;"><% $dclass %></b> 27 27 % } else { 28 28 <a href="?class=<% $class %>&restrict_class=<% $dclass %>"><% $dclass %></a> 29 29 % } … … 268 268 $s .= ",$filter" if ($filter > 0); 269 269 270 270 my %filter=(); 271 my %order = (not $link_class and $owner->order_by) ? (order_by => $owner->order_by) : (order => ['date','direct']); 271 my %order = (not $link_class and $owner->order_by) ? (order_by => $owner->order_by) : (order_by => 'id desc'); 272 272 if ($alpha) { 273 273 $filter{ilike}=1; 274 274 $filter{ $alpha_search || 'name' }="$alpha%";