TPAC: Add search torture tests to concerto record
authorDan Scott <dscott@laurentian.ca>
Thu, 11 Oct 2012 03:35:13 +0000 (23:35 -0400)
committerDan Scott <dscott@laurentian.ca>
Thu, 11 Oct 2012 05:12:19 +0000 (01:12 -0400)
commitb273c345ce2731cd605eeae7b03ee64e368c6c84
tree0db1da464448f4d70b2ab67ce01365224d29eabe
parent242c89e21a4418c84a01e8526f05d2d718859a72
TPAC: Add search torture tests to concerto record

In addition to # signs causing problems in facets, we found that search
syntax in general is surfaced directly in most links that are exposed to
users in the TPAC. This commit adds several examples to the record with
the title "Trombone concerto (1991)":

In the title, there is an embedded "subject:" search which will be
triggered by autocomplete.

In the author (100 field), there is an embedded "author:" search which
will be triggered from the record details page. This also includes
another usage of the # sign.

In the subject fields, there are:
  * an embedded "subject:" search which will be triggered from the
    facets, autocomplete, and record details page
  * an embedded negation operator which will be triggered from the
    facets, autocomplete, and record details page

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/tests/datasets/concerto.sql