MetaSearch Database Selection Tweaks

Skip to end of metadata
Go to start of metadata

MetaSearch Database Selection Tweaks

Overview

Here are a couple of patches for database selection in MetaSearch with the following effects:

  • Retain the database selection when switching between Simple and Advanced tabs.
  • Add Select/Unselect All box above the others
  • Focus the first search field by default

Installation

  1. Download the patches:
    patch for meta-1.js
    patch for meta-1-results
  2. Copy the patch files to your server into the instance directory (e.g. m4_2/ins01).
  3. Enter the directory in a shell and run the following commands:
    ../product/bin/patch -u -p0 < meta-1-results.diff
    ../product/bin/patch -u -p0 < meta-1.js.diff
  4. Check that there were no errors in the output.
  5. Only www_v_eng/meta-1-results will be patched. If you have other languages too, copy meta-1-results from www_v_eng or add the changes manually if the files are not similar.
  6. If you need to back out the changes, run the following commands:
    ../product/bin/patch -u -p0 -R < meta-1-results.diff
    ../product/bin/patch -u -p0 -R < meta-1.js.diff
    If patching the files fails due to local changes, you can try fuzzier matching by adding parameter -F 7 to the patch command.
    If it still fails, you can do the changes manually by following the patch files. Lines denoted with - are removed and lines denoted with + are added.

Searching Nelli

See also:

No content found for label(s) customization.


Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.