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>
Wed, 23 Jan 2013 05:28:37 +0000 (00:28 -0500)
commitf2b0d5ff3a91cefa9a4a6891c7ed633d6984b991
tree4cf688d5428452d92558b3bf1b40af8a84e27ef8
parent6422c5f7af9632bf98e138988a7dbcfa2276fbf7
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>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/tests/datasets/concerto.sql