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:48:56 +0000 (00:48 -0500)
commit96d2e2846beff22d759e6bd7181c0df1c4e5ef7e
tree4ff821fc0bd2a8689e390f076f9b0a2761d7c074
parenta568b606d1606294eac7638e9e122b79dbdc4c93
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