[Koha-bugs] [Bug 1092] might be nice to have cookie keep track of patron.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat May 4 17:34:10 CEST 2019


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

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |MOVED

--- Comment #6 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
(In reply to Michael Hafen from comment #5)
> (In reply to Katrin Fischer from comment #4)
> > Michael, could you explain a bit more how this should work?
> 
> Sure... I was going to use the cookie tracking from reserves, but I wasn't
> able to find it.  So I'll have to explain this using my own, very out-dated,
> code.
> 
> This would effect a few pages: circ/circulation.pl, circ/returns.pl,
> circ/renew.pl, reserve/request.pl, members/moremember.pl
> 
> In circulation, request, and moremember you could have code like:
> 
> $borrowernumber = $query->param('borrowernumber') ||
> $session->param('borrowernumber');
> 
> And in all the pages there would be code like:
> 
> if ( $borrower->{borrowernumber} != $session->param('borrowernumber') {
>   $session->param('borrowernumber', $borrower->{borrowernumber});
> }
> 
> With code like this when a borrower's record is loaded through a search,
> that borrower's number is stored in the session.  After that any access to
> pages that require a borrower's record to be loaded can present the most
> recently found borrower by pulling their number from the session instead of
> the librarian having to search for them.  It's most useful in going into the
> reserves/request.pl page, which is why there is/used to be code to do the
> same thing using a cookie.  I think there are links into moremember from
> return and renew, so this feature isn't as useful there.  Though I have
> added a link directory to circulation to the top menu, and to the list on
> the return page so that circulation is one click closer there.

This sounds a bit like our 'search to hold' feature. Also there is now a 'last
patron' feature (showLastPatron preference). Closing this MOVED, please reopen
if you disagree!

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


More information about the Koha-bugs mailing list