]> git.koha-community.org Git - koha.git/commit
Bug 14456: (regression test) Holdings fields should be skipped by EmbedSeeFromHeadings
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 22 Jul 2015 14:22:20 +0000 (11:22 -0300)
committerChris Cormack <chrisc@catalyst.net.nz>
Wed, 5 Aug 2015 03:05:21 +0000 (15:05 +1200)
commit795f31107ebd90951169177541daa1fe7590a375
tree6f87bee658df0b062fbc9df71e50a970f755569e
parent8273c561842756efa89296a40eead4416e33091f
Bug 14456: (regression test) Holdings fields should be skipped by EmbedSeeFromHeadings

This patch introduces a regression test for the situation in which
an itemnumber on a record matches the authid of an authority record
and the current implementation of the EmbedSeeFromHeadings filter
wrongly includes new holding fields with authority data...

To test:
- Apply the patch
- Run:
  $ prove t/db_dependent/RecordProcessor_EmbedSeeFromHeadings.t
=> FAIL: The test 'Holdings fields not processed to introduce See-from heading'
   fails.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 5e1474836024a9ccd1a9fb4eef91641fba6f8598)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
t/db_dependent/RecordProcessor_EmbedSeeFromHeadings.t