Re: [Koha] Order of display of 246 $i and $a fields

2019-06-01 Thread Katrin Fischer

Hi Heather,

similar to you this has been bothering me for a while now too. I'd be
super happy if you filed a bug for it.

All you really need to fill in are:

- Choose a good description
- Describe the problem (you did so already perfectly)
- Set the module
- Version: you can pick the one you spotted it in, but I am sure it's in
master too :)

Save!

Some more info on all the fields can be found here:
https://wiki.koha-community.org/wiki/Bug_Reporting_Guidelines

Let me know if I can help in any way!

Katrin


On 23.05.19 18:21, Hernandez, Heather wrote:

Hi!

My users have noticed something that's bothered me, but I held off
clutching my pearls about it until one of my users complained to me!:)  I'm
wondering if this might be worth my learning to try to file a bug?  The
MARC21 Bibliographic Format for subfield i in the 246 field specifies
putting a colon at the end of the text in that field, intending the data in
that subfield to precede the title data, i.e.:
245 00$aBulletin of atomic scientists.
*246* *1#**$i*At head of title:*$a*Science and public affairs*$f*Jan.
1970-Apr. 1974
*246* *1#**$i*Title on container:*$a*New Brunswick royal gazette
*246* *1#**$i*Alternate issues published with title:*$a*Chicago daily
telegraph
But Koha displays the $i data *after* the title in the staff client and the
OPAC, e.g. an example from our catalog:
https://keys.bywatersolutions.com/cgi-bin/koha/opac-detail.pl?biblionumber=6196
Displays:
Other title:...Rees on ships [Binder's spine title:].

As an OCLC user, I have to follow MARC21 and OCLC Bibliographic Formats and
Standards, which also has these data examples:
245 0 0 Bulletin of atomic scientists.
246 1   ǂi At head of title: ǂa Science and public affairs ǂf January
1970-April 1974
245 0 0 Quartetti per archi.
246 1   ǂi Colophon title: ǂa Smyccove kvartety
246 1   ǂi Panel title: ǂa Welcome to big Wyoming
245 0 4 The Bluegrass album.
246 1   ǂi Volume 3 has title: ǂa California connection

So I have to input the colon at the end of data entered into the $i, and
then it looks really weird displayed after the $a data in Koha.

Would it be worth my trying to (finally!) learn how to file a bug to have
the 246 fields display the $i in the correct position, e.g.:

Other title: At head of title: Science and public affairs
Other title: Colophon title: Smyccove kvartety | Panel title: Welcome to
big Wyoming
Other title: Binder's spine title: Rees on ships | Known as: Rees's ships

(This is very MARC21 & OCLC-centric, but I am completely unfamiliar with
UNIMARC.)

Thank you!  Cheerio,
h2
~~
Heather Hernandez (she, her, hers)
Technical Services Librarian
San Francisco Maritime National Historical Park Research Center
2 Marina Blvd., Bldg. E, 3rd floor, San Francisco, CA  94123-1284
415-561-7032, heather_hernan...@nps.gov
Library catalog: http://keys.bywatersolutions.com/
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha

___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] How to show description of item type in ISSUESLIP

2019-06-01 Thread Katrin Fischer

I saw now that you had some issues with that syntax. I've added your
code as another example to the wiki:

https://wiki.koha-community.org/wiki/Notices_and_Slips_Library#Checkouts_slip_using_only_Template_Toolkit


On 01.06.19 10:28, Katrin Fischer wrote:

Hi Michael and Jonathan,

I wanted to add this to the wiki and found that Joseph has added another
variation that might be a little more elegant as it doesn't require you
to change the notice template when changing itemtypes:

https://wiki.koha-community.org/wiki/Notices_and_Slips_Library#Checkouts_slip_using_only_Template_Toolkit


It uses:

[% USE ItemTypes %]

and:

[% ItemTypes.GetDescription(checkout.item.effective_itemtype)  %] Hope
this helps, Katrin


On 28.05.19 15:11, Michael Kuhn wrote:

Hi Jonathan

> Replace the whole checkedout "loop" with the FOR loop
> The example in the test file should give you an idea about how to do
> that.

I have now replaced the original loop:



<> <>
Fällig am: <>



with the following:

[% FOREACH checkout IN checkouts %]
[%~ SET item = checkout.item %]
[%~ SET biblio = checkout.item.biblio %]
[% biblio.title %] [% item.barcode %]
[% SWITCH item.itype %]
[% CASE '01' %] Kinder-/Jugendbuch
[% CASE '02' %] Sachbuch
[% CASE '03' %] Schöne Literatur
[% CASE '05' %] Cassetten
[% CASE '06' %] CD
[% CASE '07' %] Zeitschriften
[% CASE '08' %] Präsenzmedien
[% CASE '09' %] Fernleihen
[% CASE '10' %] Kinder-/Jugendbuch Sene
[% CASE '13' %] Englische Literatur
[% CASE '14' %] Frz. Literatur
[% CASE '16' %] Hörbuch / CD
[% CASE '17' %] Wanderausstellung
[% CASE '18' %] Krimi, Thriller
[% CASE '19' %] Historische Literatur
[% CASE '20' %] DVD
[% CASE '21' %] Leihring
[% CASE '22' %] Spiele
[% CASE '23' %] Weihnachten
[% CASE '24' %] E-Medium
[% END %]
Fällig am: [% checkout.date_due  %]
[% END %]

This works as expected.

Many thanks & best wishes: Michael
--
Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
T 0041 (0)61 261 55 61 · E m...@adminkuhn.ch · W www.adminkuhn.ch
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha

___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha

___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] How to show description of item type in ISSUESLIP

2019-06-01 Thread Katrin Fischer

Hi Michael and Jonathan,

I wanted to add this to the wiki and found that Joseph has added another
variation that might be a little more elegant as it doesn't require you
to change the notice template when changing itemtypes:

https://wiki.koha-community.org/wiki/Notices_and_Slips_Library#Checkouts_slip_using_only_Template_Toolkit

It uses:

[% USE ItemTypes %]

and:

[% ItemTypes.GetDescription(checkout.item.effective_itemtype)  %] Hope this 
helps, Katrin


On 28.05.19 15:11, Michael Kuhn wrote:

Hi Jonathan

> Replace the whole checkedout "loop" with the FOR loop
> The example in the test file should give you an idea about how to do
> that.

I have now replaced the original loop:



<> <>
Fällig am: <>



with the following:

[% FOREACH checkout IN checkouts %]
[%~ SET item = checkout.item %]
[%~ SET biblio = checkout.item.biblio %]
[% biblio.title %] [% item.barcode %]
[% SWITCH item.itype %]
[% CASE '01' %] Kinder-/Jugendbuch
[% CASE '02' %] Sachbuch
[% CASE '03' %] Schöne Literatur
[% CASE '05' %] Cassetten
[% CASE '06' %] CD
[% CASE '07' %] Zeitschriften
[% CASE '08' %] Präsenzmedien
[% CASE '09' %] Fernleihen
[% CASE '10' %] Kinder-/Jugendbuch Sene
[% CASE '13' %] Englische Literatur
[% CASE '14' %] Frz. Literatur
[% CASE '16' %] Hörbuch / CD
[% CASE '17' %] Wanderausstellung
[% CASE '18' %] Krimi, Thriller
[% CASE '19' %] Historische Literatur
[% CASE '20' %] DVD
[% CASE '21' %] Leihring
[% CASE '22' %] Spiele
[% CASE '23' %] Weihnachten
[% CASE '24' %] E-Medium
[% END %]
Fällig am: [% checkout.date_due  %]
[% END %]

This works as expected.

Many thanks & best wishes: Michael
--
Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
T 0041 (0)61 261 55 61 · E m...@adminkuhn.ch · W www.adminkuhn.ch
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha

___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Zebra reindexing

2019-06-01 Thread Katrin Fischer

Hi Rizwan,

if you have installed using the packages, you want to look at the
koha-rebuild-zebra command.

An example for a full reindex command would be:

sudo koha-rebuild-zebra -f 

You can also use -h to get more information about the different options.

Hope this helps,

Katrin


On 29.05.19 07:44, Rizwan Majeed wrote:

Dear All

Would anybody like to guide me about step by step process of zebra
reindexing or zebra rebuild.

Regards
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha

___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Message for Birthday wishes though Koha

2019-06-01 Thread karthick
Dear Sir,Check out the following link to my small work for Birthday Wishes
using App
Script.https://github.com/karthickkbabu/BirthDay-WishesRegards,Karthick.



--
Sent from: http://koha.1045719.n5.nabble.com/Koha-general-f3047918.html
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha