[Koha-bugs] [Bug 11186] New: <<count>> does not work as it appears in default notices

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 1 14:49:39 CET 2013


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 at lists.koha-community.org
          Reporter: nengard at gmail.com
        QA Contact: testopia at 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.


More information about the Koha-bugs mailing list