Bug 14351: Remove given-when from opac-search.pl
commit38048bc420ffa6f2a5a73287fdff5e2d8cbe63ef
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Sun, 7 Jun 2015 23:49:24 +0000 (8 01:49 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 17 Jun 2015 12:53:47 +0000 (17 09:53 -0300)
treefddc5ab42d9c5c7948509fba740eaaa774154c09
parent2fe241cc0f774799b8dca329d41d03f2217ffcaa
Bug 14351: Remove given-when from opac-search.pl

Reformats given-when to if-elsif-else in opac-search.pl
to remove the experimental feature and with it a lot
of warnings from the logs.

To test:
- Do several different advanced searches with and
  without expanded search options
- Verify the link back to the search appears above
  the results list and works correctly

See also: test plan on bug 13307

NOTE: Even installed firefox plug in to edit cookies to
      trigger else case. :)

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
opac/opac-search.pl