]> 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)
committerGalen Charlton <galen.charlton@liblime.com>
Fri, 5 Jun 2009 22:33:17 +0000 (17:33 -0500)
commit5d15edd869b56d84fdf71a2a2a3a34a1a463c25c
tree597fa7f7ba05b1a9ec7ff5a9e5af36e4008207b0
parent4677ae739015f062ad2db5f9aa49b5c05628ec5f
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>
circ/selectbranchprinter.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/selectbranchprinter.tmpl