-- Seed data
-INSERT INTO acq.lineitem_marc_attr_definition ( code, description, xpath ) VALUES ('title','Title of work','//*[@tag="245"]/*[contains("abcmnopr",@code)]');
+INSERT INTO acq.lineitem_marc_attr_definition ( code, description, xpath ) VALUES ('title','Title of work','//*[@tag="245"]/*[contains("abmnopr",@code)]');
INSERT INTO acq.lineitem_marc_attr_definition ( code, description, xpath ) VALUES ('author','Author of work','//*[@tag="100" or @tag="110" or @tag="113"]/*[contains("ad",@code)]');
INSERT INTO acq.lineitem_marc_attr_definition ( code, description, xpath ) VALUES ('language','Language of work','//*[@tag="240"]/*[@code="l"][1]');
INSERT INTO acq.lineitem_marc_attr_definition ( code, description, xpath ) VALUES ('pagination','Pagination','//*[@tag="300"]/*[@code="a"][1]');
--- /dev/null
+-- Evergreen DB patch XXXX.schema.acq-lineitem_attr_flexibility.sql
+
+BEGIN;
+
+-- Check whether this patch can be applied
+SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
+
+-- This patch removes subfield 'c' from the lineitem marc attribute
+-- for title to improve potential matches when using acquisitions'
+-- "link to catalog" option.
+
+UPDATE acq.lineitem_marc_attr_definition
+SET xpath = '//*[@tag="245"]/*[contains("abmnopr",@code)]'
+WHERE code = 'title';
+
+COMMIT;
\ No newline at end of file