From 0ebb8f829ac2d23b65e8d993c7d03aa0b172b637 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 25 Mar 2019 15:51:12 +0100 Subject: [PATCH] Projekte: alte Suchmaske entfernt --- SL/Controller/Project.pm | 21 ++------------------- locale/de/all | 1 - templates/webpages/project/search.html | 14 -------------- 3 files changed, 2 insertions(+), 34 deletions(-) delete mode 100644 templates/webpages/project/search.html diff --git a/SL/Controller/Project.pm b/SL/Controller/Project.pm index 11cdd9c47..66f228725 100644 --- a/SL/Controller/Project.pm +++ b/SL/Controller/Project.pm @@ -41,27 +41,10 @@ __PACKAGE__->run_before('use_multiselect_js', only => [ qw(new create edit updat # 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; @@ -430,7 +413,7 @@ sub setup_edit_action_bar { } } -sub setup_search_action_bar { +sub setup_list_action_bar { my ($self, %params) = @_; for my $bar ($::request->layout->get('actionbar')) { diff --git a/locale/de/all b/locale/de/all index f1dd92bfa..fee2ce486 100755 --- a/locale/de/all +++ b/locale/de/all @@ -2772,7 +2772,6 @@ $self->{texts} = { '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', diff --git a/templates/webpages/project/search.html b/templates/webpages/project/search.html deleted file mode 100644 index d2adb5826..000000000 --- a/templates/webpages/project/search.html +++ /dev/null @@ -1,14 +0,0 @@ -[%- USE T8 %] -[%- USE HTML %] -[%- USE L %] -[%- USE LxERP %] -

[% 'Search projects' | $T8 %]

- -[%- INCLUDE 'common/flash.html' %] - -
- -

-[%- INCLUDE 'project/_filter.html' %] -

-
-- 2.20.1