[Koha-bugs] [Bug 17397] Show name of librarian who created circulation message

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 26 21:59:14 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17397

--- Comment #10 from Josef Moravec <josef.moravec at gmail.com> ---
> @@ +587,5 @@
> > +    $this_item->{message}        = $content->message;
> > +    $this_item->{manager_id}     = $content->manager_id;
> > +    $this_item->{name}           = $content->_result->get_column('manager_firstname') . ' ' . $content->_result->get_column('manager_surname');
> > +
> > +    push @messages, $this_item;
> 
> You should not need this loop. You can access the message's methods from the
> template.

I have written some tests and now I tried to eliminate that loop. I am able to
access columns from table messages, but I can't access the two columns which
are get by relation to table borrowers - manager_firstname and
manager_surname... I am probably doing something wrong...

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


More information about the Koha-bugs mailing list