TPAC: Add search torture tests to concerto record
authorDan Scott <dscott@laurentian.ca>
Thu, 11 Oct 2012 03:35:13 +0000 (23:35 -0400)
committerMichael Peters <mrpeters@library.in.gov>
Thu, 8 Nov 2012 19:17:51 +0000 (14:17 -0500)
commit09854de133092bcf332c147a9402872a2d6a6784
tree308a5da56ba8428302759199068a26e3adb4f474
parentc1449e0b7e58ea926bf275cdda024ae36fc277e1
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