LP#1623955: Keep periods in subject links user/kmlussier/lp1623955-stop-stripping-periods-in-subject-headings
authorKathy Lussier <klussier@masslnc.org>
Thu, 29 Sep 2016 17:50:40 +0000 (13:50 -0400)
committerKathy Lussier <klussier@masslnc.org>
Fri, 30 Sep 2016 00:06:19 +0000 (20:06 -0400)
commit090d0d6373f107d6fe66ba6707849b23fea79db9
treea1dcc7a77c96c68b5b97fb9a5e151fb6c8fc6153
parent9dd9dcaf74f72a84a46d9ac60a1d5c13ba932eff
LP#1623955: Keep periods in subject links

The subject links in the record summary were stripping periods, changing
headings that contained N.Y., for example, to NY in the subsequent search
string. Since normalization at index time replaces the period with a space,
clicking the subject links did not successfully retrieve all relevant
results.

Test plan:
Click the Subject link for a record that has New York (N.Y.) in its heading and
has no other instances of ny in the keyword index. This record will not be
retrieved when you click the link. After loading the patch, the record will be
successfully retrieved, along with other records that contain New York (N.Y.) in
their subject headings.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/templates/opac/parts/record/subjects.tt2