From 2cddd2e5f77c3a10676510b6c6bc2ca48459d117 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 13 Dec 2004 09:13:27 +0000 Subject: [PATCH] add config option for address2 search, closes: Bug#1022 --- FS/FS/Conf.pm | 7 +++++++ httemplate/index.html | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index f8dc7d924..b6c115dc4 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -1370,6 +1370,13 @@ httemplate/docs/config.html 'type' => 'checkbox', }, + { + 'key' => 'address2-search', + 'section' => 'UI', + 'description' => 'Enable a "Unit" search box which searches the second address field', + 'type' => 'checkbox', + }, + ); 1; diff --git a/httemplate/index.html b/httemplate/index.html index cd1021742..868fec2d4 100644 --- a/httemplate/index.html +++ b/httemplate/index.html @@ -65,7 +65,9 @@
Customer # or all customers by customer number
Last name or all customers by last name
Company or all customers by company
- +<% if ( $conf->exists('address2-search') ) { %> +
Unit
+<% } %>
Phone #

Username or all accounts by username or uid

Domain or all domains
-- 2.11.0