Koha/misc/maintenance
Tomas Cohen Arazi fd30cac85a Bug 22155: Adapt uses of biblio_metadata.marcflavour to schema
This patch makes the code using Koha::Biblio::Metadata->marcflavour use
->schema instead for all interactions.

To test:
- Update the DB structure:
  $ updatedatabase
- Update the schema files:
  $ dbic
- Notice all the places in which biblio_metadata is used
  $ cd kohaclone
  $ git grep biblio_metadata
=> SUCCESS: They all use `schema` instead of marcflavour
- Notice all the places that use Koha::Biblio::Metadata:
  $ git grep Koha::Biblio::Metadata
=> SUCCESS: They all use the schema attribute when they used to use
marcflavour
- Run all the modified tests and scripts
=> SUCCESS: We are all good
- Sign off :-D

Note: while this seems like a minor change, the places in which plain
SQL is used really require understanding the queries and how they are
used, because some query results might be passed to some other method
that in turn uses the marcflavour attribute. I of course took that into
account but errare humanum est :-D

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-01-30 11:35:34 +00:00
..
auth_show_hidden_data.pl Bug 18811: Add a script for checking authority data in hidden fields 2017-09-12 11:30:40 -03:00
borrowers-force-messaging-defaults.pl Bug 19454: (QA follow-up) Fix selection on categorycode 2018-03-23 11:45:38 -03:00
check_sysprefs.sh
cmp_sysprefs.pl Bug 20056: Resolve uninitialized warn in cmp_sysprefs.pl 2018-01-30 14:21:27 -03:00
fix_accountlines_date.pl
fix_accountlines_rmdupfines_bug8253.pl
fix_mysql_constraints.pl
make_zebra_dom_cfg_from_record_abs
process_record_through_filter.pl Bug 19040: Refactor GetMarcBiblio parameters 2017-08-25 10:23:42 -03:00
remove_items_from_biblioitems.pl Bug 19040: Refactor GetMarcBiblio parameters 2017-08-25 10:23:42 -03:00
sanitize_records.pl Bug 22155: Adapt uses of biblio_metadata.marcflavour to schema 2019-01-30 11:35:34 +00:00
search_for_data_inconsistencies.pl Bug 21150: add the biblionumber to the output 2018-08-22 12:48:22 +00:00
touch_all_biblios.pl Bug 19190: Silly calculation of average time in touch_all scripts 2017-10-09 16:15:48 -03:00
touch_all_items.pl Bug 19190: [Follow-up] Do not rely on the return of ModItem 2017-10-09 16:15:48 -03:00
UNIMARC_fix_collectiontitle.pl
UNIMARC_sync_date_created_with_marc_biblio.pl Bug 19040: Refactor GetMarcBiblio parameters 2017-08-25 10:23:42 -03:00
update_authorities.pl Bug 18071: (QA follow-up) Rename commit to confirm parameter 2018-01-10 16:53:52 -03:00