674ad809f3
This patch fixes certain values of default bibliographic framework. It fixes hidden values using as reference default framework from biblibre demo site. Also adds some missing subfields, authorised values and fixes capitalization on some descriptions. To test: 1) On biblibre demo site, run a report SELECT tagfield,tagsubfield,hidden FROM marc_subfield_structure WHERE frameworkcode = '' ORDER BY tagfield,tagsubfield; 2) Download as tab separated values, ej. biblibre-hidden.txt 3) Apply the patch, remove bib frameworks, load YAML file 4) Run something like this to check correct hidden values while read -r -a l; do t="${l[0]}"; s="${l[1]}"; h="${l[2]}"; b=$( mysql koha -N -B -e "select hidden from marc_subfield_structure where frameworkcode = '' and tagfield = '$t' and tagsubfield = '$s'"); [ -n "$b" -a "$b" != "$h" ] && echo "$t:$s: -> change $b to $h"; done < <( cat biblibre-hidden.txt ) there must be no output Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> |
||
---|---|---|
.. | ||
atomicupdate | ||
db_revs | ||
en | ||
fr-FR | ||
localization | ||
mandatory | ||
backfill_statistics.pl | ||
fix_unclosed_nonaccruing_fines_bug17135.pl | ||
kohastructure.sql | ||
labels_upgrade.pl | ||
patroncards_upgrade.pl | ||
update22to30.pl | ||
updatedatabase.pl |