[Bug 11186] New: <<count>> does not work as it appears in default notices
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11186 Bug ID: 11186 Summary: <<count>> does not work as it appears in default notices Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Notices Assignee: koha-bugs@lists.koha-community.org Reporter: nengard@gmail.com QA Contact: testopia@bugs.koha-community.org One of the default notices (i believe it's DUE) says: "You have <<count>> items due soon." But that doesn't actually work. An examination of the code finds that "<<count>>" acts as a number label for some types of loops ( but not all ) in some notices and slips. For example, let's say a notice has a loop of items, the following: <item> <<count>>: <<item.barcode>> </item> Would produce something like the following 1: 1233454232 2: 2343242343 3: 3243243242 and so on We need to resolve this by fixing the default notice or by making <<count>> work like it appears it should - a count of items due. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11186 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |katrin.fischer@bsz-bw.de Resolution|--- |WORKSFORME --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Hi Nicole, I think it works as expected: I tested <<count>> outside of the <item> tag for PREDUEDGST and DUEDGST which are the sample notices it appears in. It correctly prints the number of items predue or due. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org