Homec4science

WebSearch: fix case-insensitive collection search

Authored by Ludmila Marian <ludmila.marian@gmail.com> on May 4 2011, 16:15.

Description

WebSearch: fix case-insensitive collection search

  • Before checking if a record is in the reclist of a collection, check if the collection actually exists and normalise its name from case-insensitive to case-sensitive. (fixes #530)
  • When trying to guess the collection of a record from the referer URL, test if this referer comes from the same Invenio installation, since URLs are similar in different installations.

Details

Committed
Tibor Simko <tibor.simko@cern.ch>May 4 2011, 16:18
Parents
R3600:e3d57cc0919e: WebAlert: fix alerts in restricted collections
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:db1b5f300768: WebSearch: fix case-insensitive collection search (authored by Ludmila Marian <ludmila.marian@gmail.com>).May 4 2011, 16:18