[Koha-bugs] [Bug 14659] Allow patrons to enter card number and patron category on OPAC registration page

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 30 14:06:05 CET 2015


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

--- Comment #4 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Comment on attachment 43042
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43042
Bug 14659: Allow patrons to enter card number and patron category on OPAC
registration page

Review of attachment 43042:
 --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=14659&attachment=43042)
-----------------------------------------------------------------

::: Koha/Template/Plugin/Categories.pm
@@ +26,5 @@
> +sub GetName {
> +    my ( $self, $categorycode ) = @_;
> +
> +    my $schema = Koha::Database->new->schema;
> +    return $schema->resultset( 'Category' )->search( {

Please use Koha::Patron::Categories->find instead.

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


More information about the Koha-bugs mailing list