Commit graph

251 commits

Author SHA1 Message Date
1e78daf9ab Changes to fix Bug 1335 (Min password length is hardcoded in template error message). Script now checks for passes to the template the value of minPasswordLength system preference so the user knows beforehand what the requirements are, and so that the error message can contain the correct value.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-04 15:06:31 -06:00
Chris Cormack
ac03e64109 Fix to get this working with the modules in 3.0
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-04 15:06:14 -06:00
Paul POULAIN
c28aaec2d5 it appears that hidelostitems can be true here and not set to 1 in syspref
in syspref it appears as "OFF", but in opac-search it's considered as true.
Changing the test to be sure syspref & opac-search consider the same thing

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-02 14:56:31 -06:00
Paul POULAIN
a502aa1c76 HTML::Template => HTML::Template::Pro
HTML::Template is no more used, some were remaining,
fixing the "use ...;" to H::T::Pro only

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-02 14:55:55 -06:00
96fcc7137c Enabling FRBR system pref for OPAC, to enable/disable display of other editions. Adding editions display to opac-detail, and making some other cosmetic changes. Adding alterating table row colors in opac-user.pl
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-26 19:59:32 -06:00
Joshua Ferraro
a0b220f855 much-awaited web-based self-checkout system
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-25 23:45:52 -06:00
Joshua Ferraro
824d50c50d forward-porting default sort by options
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-25 18:47:12 -06:00
Joshua Ferraro
eab6705ce6 adding numSearchResults and OPACnumSearchResults
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-25 18:04:56 -06:00
Galen Charlton
958b5a097c new C4::Auth::get_session for single place to get CGI::Session object
Refactoring to provide single place to get CGI::Session ojbject;
fixes bug for DB storage method other than 'mysql'.

This refactoring is also part of the patch series for
handling large input files for staging and processing
MARC records.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-25 16:43:26 -06:00
Joshua Ferraro
52d9e90655 adding back count of remaining renewals to OPAC
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-25 16:27:57 -06:00
Joshua Ferraro
7471f4c017 add OPAC hidelostitems and suppression from dev_week
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-25 16:27:44 -06:00
Joshua Ferraro
7bfd9507ae fix for bug 1352: 'Suggestions Link Should Force Patron Login'
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-25 16:27:31 -06:00
Joshua Ferraro
160440cc3a fixing masthead query detection, fixing author and subject links
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-25 16:27:26 -06:00
Joshua Ferraro
7b4c5fd8e0 searchdesc improvements, more opac fixes
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-25 16:26:35 -06:00
Joshua Ferraro
bb86c39e35 adding limit_cgi_not_availablity which is identical to
limit_cgi but without the available limit

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-25 16:26:25 -06:00
Joshua Ferraro
cf46662107 starting work on porting search to OPAC
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-25 16:25:48 -06:00
eb1b0ac1b6 Tweaks to opac-detail, opac-results. Many changes to opac-shelves.tmpl following the pattern of revision started in dev_week and continued in the 3.0 staff client.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-21 18:08:05 -06:00
5cc3cdeb29 Finishing first round of OPAC updates. Lost of unstandardized interface elements and menu placement issues still to be resolved. Also included are a couple of changes to the intranet detail page.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-20 16:27:05 -06:00
Joshua Ferraro
dd05dd3dbb adding xisbn, amazon similar items to OPAC
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-20 16:18:35 -06:00
Joshua Ferraro
2a1587d1ce adding export feature to OPAC
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-20 15:59:06 -06:00
Paul POULAIN
ef2855e2cd porting sort_by stuff from staff to opac
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-17 11:16:15 -06:00
e496677ac9 Beginning redesign of the OPAC. At this stage it's a move to make it more like the dev_week design, but this is only a starting point. This commit makes most OPAC page layouts very broken.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-13 21:35:45 -06:00
Paul POULAIN
321f3694c4 bugfix to limit search to branch in OPAC
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-12 17:10:18 -06:00
Henri-Damien LAURENT
8c482560f4 Bug FIX : ISBD links to pages should be changed in order to work both at OPAC and intranet.
Proposing a quick fix for that.
parsing links to change calls from /cgi-bin/koha/***/function.pl?myvars
to opar-function.pl?myvars

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-06 06:23:47 -06:00
Paul POULAIN
4c7ca14fb8 fixing buildQuery call to new API
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-31 19:42:26 -05:00
Paul POULAIN
9a954f7263 revert kw,wrdl search (part 2)
kados should commit something better, this is a quick hack.
if I send it mistakenly chris/kados, pls don't validate

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-31 05:44:22 -05:00
Paul POULAIN
b1f2856974 Show images only if there is one
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-31 05:43:21 -05:00
Chris Cormack
906921e558 Fix for a bug in reserves, if a charge was incurred we got a server error, and it wasnt listing the itemtypes available
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-29 16:11:38 -05:00
Joshua Ferraro
6984d77f18 Revert "reverting defaut-search-on-kw-wrdl and doing it elsewhere"
This reverts commit 38884abf65.

This commit results in failed searches all over the place, I'm reverting
the revert :-)

Conflicts:

	koha-tmpl/intranet-tmpl/prog/fr/includes/circ-search-autocompl.inc

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-25 06:38:49 -05:00
Paul POULAIN
38884abf65 reverting defaut-search-on-kw-wrdl and doing it elsewhere
The patch default search on kw-wrdl is bugguy, as there ca be 2 idx (maybe an API limit,not sure)

So i've reverted it and added kw,wrdl on every place there is a query (the search boxes)

QUESTION : isn't it possible to have a single query for catalogue, that is TMPL_INCLUDE'd ?

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-24 17:07:22 -05:00
Paul POULAIN
6cfc26f856 defaut search on kw,wrdl
without this, the search is done on kw, and truncation is not possible.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-24 17:03:22 -05:00
Henri-Damien LAURENT
6645791b3e Ordering items on holdingbranch for ISBD.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-18 19:41:52 -05:00
Chris Cormack
606ecb532a Patch from Joe Atzberger to remove $Id$ and $Log$ from scripts
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-18 16:27:04 -05:00
Paul POULAIN
4d73edcd8a bugfix for top issues, for branch selector
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-17 07:15:27 -05:00
Paul POULAIN
847bf18dad SearchMyLibraryFirst : reintroducing behaviour (from 2.2)
If the SearchMyLibraryFirst is set, then a logged user will automatically limit the search
to it's own library.

I also did some code cleaning

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-17 07:15:06 -05:00
Paul POULAIN
865036b43c opac-logout fixed
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-17 07:14:24 -05:00
Paul POULAIN
64e2118e81 authorities : Adding sorting option to opac & sorting mainentry asc by default
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-17 07:13:55 -05:00
Ryan Higgins
1c2adfe7ff adding GetMarcUrls() fcn to display 856's - adding also output to opac-detail.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-12 07:24:53 -05:00
Paul POULAIN
c3e0cf6b42 #1255 : flagged patron can't renew
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-12 07:24:28 -05:00
Paul POULAIN
669a146e1a Sorting Branches by Branchcode on display.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-11 12:32:04 -05:00
Paul POULAIN
d5e98bdc7d (minor) bugfixing topissues (no limit query)
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-09 19:10:54 -05:00
Paul POULAIN
54c6d55b7e removing comment
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-09 19:05:23 -05:00
Paul POULAIN
39f88e650f #1456, automatically suggest user branch as pickup branch
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-08 15:54:53 -05:00
Joshua Ferraro
e87c497f5d Fix for 1279: Detail page should display error message for invalid biblionumbers
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-06 21:44:40 -05:00
Paul POULAIN
57f8e48039 #1455 (placing reserve from OPAC)
SANOP hadn't ported reserve to OPAC yet. that's why opac reserves were no more working.

I've fixed that, but it need more testing...

Signed-off-by: Chris Cormack <crc@liblime.com>
2007-10-03 14:58:55 -05:00
Paul POULAIN
bb12924c1b some cleaning in Auth
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-10-02 15:45:07 -05:00
Chris Cormack
6c871b7847 Fix for a bug in reserves, if a charge was incurred we got a server error, and it wasnt listing the itemtypes available
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-10-01 18:25:19 -05:00
Paul POULAIN
30fbc40061 BUGFIX (minor)
authority list ordering was bugguy

Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-30 16:03:35 -05:00
Joshua Ferraro
45e9e184ef genericize spsuggest feature
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-29 16:00:55 -05:00
Paul POULAIN
85636b5cf1 BUGFIX : updating opac-logout to deal with CGI::Sessions
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-27 16:32:42 -05:00