[Koha-bugs] [Bug 12693] New: colspan calculation done by members/statistics.pl should be moved to template

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 1 20:56:16 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12693

            Bug ID: 12693
           Summary: colspan calculation done by members/statistics.pl
                    should be moved to template
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: minor
          Priority: P5 - low
         Component: Patrons
          Assignee: oleonard at myacpl.org
          Reporter: oleonard at myacpl.org
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

members/statistics.pl contains some code to calculate how many columns of the
main table the footer's total column should span.

As the colspan value is purely a display consideration, the logic should be
moved to the template.

members/statistics.pl:    length_keys    => scalar( @statistic_column_names),
koha-tmpl/intranet-tmpl/prog/en/modules/members/statistics.tt:                 
      <td colspan="[% length_keys %]">TOTAL</td>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list