Revision 15
- Date:
- 2010/04/06 15:11:45
- Files:
Legend:
- Added
- Removed
- Modified
-
koi8/core/comps/contenido/sections.html
313 313 if ( $doc_class ) { 314 314 my @props = $doc_class->new( $keeper )->structure(); 315 315 my ($prop) = grep { $_->{attr} eq $search_by } @props if @props; 316 if ( ref $prop && $prop->{type} eq 'integer' ) { 316 if ( ref $prop && ($prop->{type} eq 'integer' || $prop->{type} eq 'checkbox') ) { 317 317 $filter{$search_by} = int($search); 318 318 } else { 319 319 $filter{$search_by}='%'.$search.'%';