rfe: search assets on class without keywords
This commit is contained in:
parent
b5cd5eca04
commit
e9a0c29618
2 changed files with 2 additions and 1 deletions
|
|
@ -2,6 +2,7 @@
|
|||
- fix: misspelled i18n in webgui password recovery
|
||||
- made captcha's harder to defeat by machine
|
||||
- rfe: Make Layout Templates use separate namespace (News)
|
||||
- rfe: search assets on class without keywords
|
||||
- fix: crash bug in if modified cache checking
|
||||
- rfe: Change URL of "news" layout to be something else.
|
||||
- add type variable to Data Form record loop
|
||||
|
|
|
|||
|
|
@ -1572,7 +1572,7 @@ sub manageAssetsSearch {
|
|||
$output .= WebGUI::Form::formFooter($self->session);
|
||||
$self->session->output->print($output);
|
||||
$output = '';
|
||||
return undef unless ($self->session->form->get("doit") && $self->session->form->get("keywords") ne "");
|
||||
return undef unless ($self->session->form->get("doit") && ($self->session->form->get("keywords") ne "" || $self->session->form->get("class") ne "any"));
|
||||
my $class = $self->session->form->process("class","className") eq "any" ? undef : $self->session->form->process("class","className");
|
||||
my $assets = WebGUI::Search->new($self->session,0)->search({
|
||||
keywords=>$self->session->form->get("keywords"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue