$self->prepare_report;
- $self->report_generator_list_objects(report => $self->{report}, objects => $price_rules, $::form->{inline} ? (layout => 0, header => 0) : (action_bar => 1));
+ $self->report_generator_list_objects(report => $self->{report}, objects => $price_rules, $::form->{inline} ? (layout => 0, header => 0) : ());
}
sub action_new {
for my $bar ($::request->layout->get('actionbar')) {
$bar->add(
action => [
- t8('Search'),
+ t8('Update'),
submit => [ '#search_form', { action => 'PriceRule/list' } ],
accesskey => 'enter',
],
- action => [
- t8('Reset'),
- call => [ 'kivi.PriceRule.reset_search_form' ],
- ],
combobox => [
action => [