TPAC: Add search torture tests to concerto record
authorDan Scott <dscott@laurentian.ca>
Thu, 11 Oct 2012 03:35:13 +0000 (23:35 -0400)
committerBill Erickson <berick@esilibrary.com>
Tue, 30 Oct 2012 16:27:28 +0000 (12:27 -0400)
commitea560cb339f69b05f5ec93231219875fa96e00b0
tree308a5da56ba8428302759199068a26e3adb4f474
parent11f035632ab8799f9afe45ee0931ff8e4d977364
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