# actions
#
-sub action_search {
- my ($self) = @_;
-
- my %params;
-
- $params{CUSTOM_VARIABLES} = CVar->get_configs(module => 'Projects');
-
- ($params{CUSTOM_VARIABLES_FILTER_CODE}, $params{CUSTOM_VARIABLES_INCLUSION_CODE})
- = CVar->render_search_options(variables => $params{CUSTOM_VARIABLES},
- include_prefix => 'l_',
- include_value => 'Y');
-
- $self->setup_search_action_bar;
-
- $self->render('project/search', %params);
-}
-
sub action_list {
my ($self) = @_;
- $self->setup_search_action_bar;
+ $self->setup_list_action_bar;
$self->make_filter_summary;
}
}
-sub setup_search_action_bar {
+sub setup_list_action_bar {
my ($self, %params) = @_;
for my $bar ($::request->layout->get('actionbar')) {
'Search AR Aging' => 'Offene Forderungen',
'Search bank transactions' => 'Filter für Bankbuchungen',
'Search contacts' => 'Personensuche',
- 'Search projects' => 'Projektsuche',
'Search term' => 'Suchbegriff',
'Searchable' => 'Durchsuchbar',
'Secondary sorting' => 'Untersortierung',
+++ /dev/null
-[%- USE T8 %]
-[%- USE HTML %]
-[%- USE L %]
-[%- USE LxERP %]
-<h1>[% 'Search projects' | $T8 %]</h1>
-
-[%- INCLUDE 'common/flash.html' %]
-
- <form method="post" action="controller.pl" id="search_form">
-
- <p>
-[%- INCLUDE 'project/_filter.html' %]
- </p>
- </form>