Bug 4390 - Notices missing fields in menu on left
Summary: Notices missing fields in menu on left
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Notices (show other bugs)
Version: Main
Hardware: PC All
: P5 - low major (vote)
Assignee: Bugs List
QA Contact: Bugs List
URL: cgi-bin/koha/tools/letter.pl?op=add_f...
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-16 10:00 UTC by Nicole C. Engard
Modified: 2015-12-03 22:00 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Cormack 2010-05-21 01:26:36 UTC


---- Reported by nengard@gmail.com 2010-04-16 22:00:58 ----

The new way notices are handled is by putting a line like this:

   <item>"<<biblio.title>>" by <<biblio.author>>,
   <<items.itemcallnumber>>, Barcode: <<items.barcode>> </item>

It used to be just <<items.content>> but I think it was Chris that wrote a patch to change it.  The problem is that items.itemcallnumber and items.barcode do not appear in the list of fields on the left hand menu.  If those fields can be used in notices they should appear on the left - along with any other fields that can now be used (that weren't before).

And if I remember wrong about who wrote the update - maybe you can CC that person on this bug.



---- Additional Comments From cnighswonger@foundations.edu 2010-04-17 01:58:14 ----

I agree with this in principle. ie. Some of the item fields need to be added to the selection list. However, if I recall correctly, one can technically enter any field in any of the borrowers, branches, biblio, biblioitems, and items tables. I'm not sure we want to advertise all of those fields. As a matter of fact it would probably be preferable to fix overdue_notices.pl to restrict the fields to match those advertised on tools/letter.pl and keep these sync'd.



---- Additional Comments From nengard@gmail.com 2010-04-20 13:20:08 ----

I'm not sure I follow completely.  At the very least we should add 

<<items.itemcallnumber>> and <<items.barcode>>

to the options - only because we say this is how to format your notice and I have librarians contacting me to say - but those fields can't be valid because they're not listed ...



--- Bug imported by chris@bigballofwax.co.nz 2010-05-21 01:26 UTC  ---

This bug was previously known as _bug_ 4390 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4390

Actual time not defined. Setting to 0.0
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.

Comment 1 Katrin Fischer 2012-04-07 17:24:47 UTC
Left menu now offers all fields for bilbio, biblioitems and issues. Items is still missing.

I think we should offer all fields that work in theory, even if using some of them make not a lot of sense.
Comment 2 Jonathan Druart 2015-03-25 11:56:25 UTC
This should be fixed now.
Please reopen if I am wrong.