]> git.koha-community.org Git - koha.git/commit
Standalone branch selection
authorJoe Atzberger <joe.atzberger@liblime.com>
Thu, 4 Jun 2009 17:43:53 +0000 (12:43 -0500)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Wed, 16 Sep 2009 21:19:07 +0000 (23:19 +0200)
commit3de17ad3065010745f8ae8dd009cf28432b810c4
treec6e4eb18e6504c784428ab6fc8a3bf3979a3b2d4
parent1798231d48e064fa26d8c85c8c94cc1ab00a7b51
Standalone branch selection

selectbranchprinter now posts to itself to set the branch.  That also means that
other pages can set the branch by linking to selectbranchprinter like:
    /cgi-bin/koha/circ/selectbranchprinter.pl?branch=MAIN

We use HTTP_REFERER to allow the user to continue back to wherever they linked from,
defaulting to circulation.pl (the former POST target).

Note that all "branchprinter" functions are basically useless as the data is not
properly handled in the session storage.  Chris C. expects this to be addressed
with later patches for HLT.  There appear to be no 3.0 users of this intended
functionality yet.

Includes squashed patch to fix tmpl and to automatically redirect if there are no
POST params to be recycled.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
circ/selectbranchprinter.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/selectbranchprinter.tmpl