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

--- Comment #10 from Josef Moravec <josef.mora...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to