Bugzilla – Attachment 10467 Details for
Bug 8233
New search engine layer - introduce solr without breaking anything else
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8233: Hide the search engine configuration link for Zebra
Bug-8233-Hide-the-search-engine-configuration-link.patch (text/plain), 1.85 KB, created by
Chris Cormack
on 2012-06-25 09:14:19 UTC
(
hide
)
Description:
Bug 8233: Hide the search engine configuration link for Zebra
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2012-06-25 09:14:19 UTC
Size:
1.85 KB
patch
obsolete
>From 8969f2cc7ccb2b202d1dfefd3b727766e6f13fa9 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Mon, 25 Jun 2012 10:06:57 +0200 >Subject: [PATCH] Bug 8233: Hide the search engine configuration link for > Zebra > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >--- > admin/admin-home.pl | 2 ++ > koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt | 6 ++++-- > 2 files changed, 6 insertions(+), 2 deletions(-) > >diff --git a/admin/admin-home.pl b/admin/admin-home.pl >index ad7a897..3db17c1 100755 >--- a/admin/admin-home.pl >+++ b/admin/admin-home.pl >@@ -34,4 +34,6 @@ my ($template, $loggedinuser, $cookie) > debug => 1, > }); > >+$template->param( SearchEngine => C4::Context->preference('SearchEngine') ); >+ > output_html_with_http_headers $query, $cookie, $template->output; >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt >index 6e19132..cabe94f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt >@@ -76,8 +76,10 @@ > <dd>Manage rules for automatically matching MARC records during record imports.</dd> > <dt><a href="/cgi-bin/koha/admin/oai_sets.pl">OAI sets configuration</a></dt> > <dd>Manage OAI Sets</dd> >- <dt><a href="/cgi-bin/koha/admin/searchengine/solr/indexes.pl">Search engine configuration</a></dt> >- <dd>Manage indexes, facets, and their mappings to MARC fields and subfields.</dd> >+ [% IF ( SearchEngine != 'Zebra' ) %] >+ <dt><a href="/cgi-bin/koha/admin/searchengine/solr/indexes.pl">Search engine configuration</a></dt> >+ <dd>Manage indexes, facets, and their mappings to MARC fields and subfields.</dd> >+ [% END %] > </dl> > > <h3>Acquisition parameters</h3> >-- >1.7.10
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 8233
:
10257
|
10334
|
10335
|
10434
|
10459
|
10464
|
10465
|
10466
|
10467
|
10480
|
11126
|
11128
|
12290
|
12408