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
- Download the patches:
patch for meta-1.js
patch for meta-1-results
- Copy the patch files to your server into the instance directory (e.g. m4_2/ins01).
- 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
- Check that there were no errors in the output.
- 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.
- 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. |
|
See also:
| No content found for label(s) customization. |
|