Koha/Гід для новака/Дані авторитетних джерел

Матеріал з docs.linux.org.ua — збірника документації з Unix/Linux українською мовою.

Перейти до: навігація, пошук

10. Дані авторитетних джерел

When you define the MARC tag structure you can select how the subfield is managed. If you enter nothing, then the subfield is free. If you choose a category of authorized_value, then a list will be shown and you can only choose a value in the list.

Зразок : мова документу. A table exists, defined by the LoC (and used even in french UNIMARC ;-) ).

  The table says :

ang


стара англійська мова

eng


англійська мова

fre


французька мова

fra


стара французька мова

ger


німецька мова

So, enter those values in a authorized values list (say : category LANG), and set langages subfield to "LANG".

The 3 digit being the "code" and the complete "text" being "english" or "french"…

Now, you have a list for the languages.

Краще : If you set subfield to "mandatory", no empty value is possible.

If you set subfield to "non mandatory", an empty value is automatically added and is the default one.

Ще краще : The list is ordered by "text" in the MARC editor.

  You want to have by default, say "eng" ?
  Ok, you must know that the space is "lower" than any letter.
  so, put " english" as text instead of "english" (notice the space at the beginning), and… eng / english is now the default value.
  quite nice isn’t it ?
Особисті інструменти