The CHECKOUT, CHECKIN, and HOLDDGST notices assume some content will appear in the notice once, while other content will be generated per item. The content to be repeated gets wrapped in a set of dashed lines that I called "digest tags" in the bug title. Like: Hey Patron, These books got checked out: ---- [% biblio.title %] ---- While a full list of titles works well in an email, it can get prohibitively long in an SMS, so some libraries prefer a single static line for their SMS notice. However, if one fully omits those digest tags Koha will repeat the entire notice per item. If no digest tags are included in the template, Koha should not repeat any of the content on subsequent items. To recreate: 1: Edit the CHECKOUT notice to read: Test ---- ---- 2: check two items out to a patron set to receive CHECKOUT notices 3: confirm their notice says just "Test" 4: Edit the checkout notice to read: Test 5: check two items out to a different patrons set to receive CHECKOUT notices 6: confirm their notice says "TestTest"
The problem is that the notice is not build "as a whole" but "in little bits". Meaning that which each transaction Koha opens the notice already generated, looks for the marker to determine where the next entry has to go and then adds it there. I don't think it will work without some type of "repetition" marker. Maybe these type of notices are not well suited for SMS. Hm, but maybe it could just do nothing if they are missing?
(In reply to Katrin Fischer from comment #1) > Hm, but maybe it could just do nothing if they are missing? That'd be my preference, if possible.