af1fb6f0b4
The intent of kohaspsuggest is very confused. It wanted to simultaneously log every search query, and get spelling suggestions from a totally different database_host:db_user:db_password:database. The implementation seems never have really made it into 3.0, however, since the only trace of the tables it wants to query are in misc/migration_tools/22_to_30/phrase_log.sql The job misc/spellcheck_suggest/make_spellcheck_suggest.pl does not even target the same remote DB as the syspref tells the search code to do. Instead, it hits the local DB and, not finding the tables that have no way of existing in a 3.0 install, it CREATES its own tables spontaneously, using MyISAM storage, no less. This script should be drastically overhauled, or more likely just removed. Other fixes: Commented out unconditional warn! Also reduced bizarre whitespace amounts in catalogue/search.pl and fixed warning as recommended by perl -wc: Scalar value @newresults[0] better written as $newresults[0] Signed-off-by: Galen Charlton <galen.charlton@liblime.com> |
||
---|---|---|
.. | ||
cardview.pl | ||
detail.pl | ||
detailprint.pl | ||
export.pl | ||
ISBDdetail.pl | ||
issuehistory.pl | ||
labeledMARCdetail.pl | ||
MARCdetail.pl | ||
moredetail.pl | ||
search.pl | ||
showmarc.pl | ||
suggest.pl | ||
updateitem.pl |