Commit graph

202 commits

Author SHA1 Message Date
Colin Campbell
ea67f3e81a Bug 4331 Index aqorders by budget_id
Calculation of budget spent and encumbered is done by
queries on aqorders by budget_id
Index budget_id to speed these queries

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-04-07 11:14:26 -04:00
Koha
d60383e0b9 Bug 4190: messages in patron account did not work with branchcodes >4
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-03-16 20:58:54 -04:00
e195e18a2c bump DBrev to 126
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-03-16 20:40:22 -04:00
66c693d96b bump up DBrev to 125
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-03-16 20:03:44 -04:00
d82bc5f0ce bug 3242: insert new HOLDPLACED letter template (DBrev 124)
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-19 05:47:50 -05:00
c411928b12 bump to DBrev 123
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-19 05:13:45 -05:00
3559d48bed bump DBrev to 122
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-18 23:05:28 -05:00
52fe58dd95 bug 1532: tweak new reserves columns and add to init SQL (DB rev 121)
Changed type of lowestpriority from BOOL to tinyint(1) - BOOL was likely
OK, but made it tinyint(1) to match the rest of the flag columns.  We
should look into converting those to BOOL en masse in 3.4.

Also made expirationdate nullable.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-18 22:49:47 -05:00
effad33113 bug 1080: finish work for soundon syspref (DBrev 120)
Tweaked wording of the soundon syspref, added it to the non-English
SQL scripts, and created a DBrev.  Thanks to Nahuel and Eric
for the French translation.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-18 09:25:25 -05:00
44967351ef set Locale::Currency::Format dep test as DBrev 119
Also fixed bug that prevented updatedatabase.pl
from compiling if Locale::Currency::Format wasn't
already installed.  To test to see if module is present,
do

eval{require Locale::Currency::Format};

not

eval{use Locale::Currency::Format};

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-17 06:39:22 -05:00
d746d80199 bug 4203: add display column to aqbudgets_planning if needed (DBrev 118)
Had not been included in kohastructure.sql

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-17 05:32:38 -05:00
Chris Cormack
461b61ad8a Fix for Bug 3730 - Wrong ISO 639-2 Language Code for Portuguese in database
[Patch originally by Ricardo Dias Marques]

Bug 3730 - Wrong ISO 639-2 Language Code for Portuguese in database
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3730

For 3.0.x head of the Git branch, the ISO 639-2 Language Code for
Portuguese in Koha database is wrong.

Specifically, in the table "language_rfc4646_to_iso639", when the
field "rfc4646_subtag" has the value "pt", the field "iso639_2_code"
should have the value of "por" and NOT the current one of "pol"
("pol" refers to "Polish" as correctly also appears for the code "pl",
in the row above the "pt" one).

In my test setups, this showed some serious sequences for people
that choose the Portuguese language in the Web Installer, namely:
- very weird look of Staff client with missing Header and Footer,
that renders the Staff client unusable
- Portuguese translation apparently not getting updated for the OPAC
(for people that do an Upgrade from a previous version)

This patch is for the 3.0.x branch (I tested it with that branch).

For the master branch, I don't have a database setup to create and
test a similar patch but Chris Cormack nicely volunteered to do that.
Thanks Chris!

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-10 12:03:58 -05:00
0f5cba428d DB rev 116 - finish fixing default value of OrderPdfFormat
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 21:14:12 -05:00
Colin Campbell
745ac87c20 Bug 4133 Ensure that orders have a valid quantity received
quantityreceived drives other parts of acq noticeably budget balances
ensure that a number (usually 0) is set in NewOrder
give field a valid default and set as not null
reinterpret exsting nulls in table as zero

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 11:21:48 -05:00
5c88458217 DB rev 114 - tweak AutoSelfCheckAllowed, AutoSelfCheckID, and AutoShelfCheckPass
* made AutoSelfCheckID and AUtoSelfCheckPass type free instead of textarea
* consolidated DB updates into one

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 08:47:13 -05:00
ff4d456072 Bug 3920 - Add 2 syspref to activate XSLT use in OPAC/Intranet
- Add two syspref:
  - OPACXSLTResultsDisplay
  - OPACXSLDetailsDispay
- Add them to .pref files and dispatch them beetween OPAC and Search
  tab.
- Upgrade DB version to 3.2 .113
- Fix something wrong in UNIMARCslim2intranetDetail.xsl
- Display OPAC result and detail pages using those syspref.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 08:08:44 -05:00
f93ee104de finished add SpineLabelShowPrintOnBibDetails (DBrev 112)
* improve wording
* add to new system preferences editor

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-05 07:36:23 -05:00
4a3b1f5b6b set DB revision to 3.01.00.111 for 3.2-lapha release
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-02 19:39:18 -05:00
Henri-Damien LAURENT
dfa8a38d42 Fixing updatedatabase
Some lines were not correct (subscription updates)
The two latest version lines were incorrect
2010-01-28 15:11:57 +01:00
Matthias Meusburger
a404384b11 MT2116: Addons to the CSV export
Add user-defined headers
Add CSV, field and subfield separator selection
2010-01-28 15:11:54 +01:00
Henri-Damien LAURENT
d339abf0bf Merge branch 'patroncards-wip' of git://git.foundations.edu/koha into community
Conflicts solved:
	Makefile.PL
	installer/data/mysql/en/mandatory/sysprefs.sql
	installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql
	installer/data/mysql/updatedatabase.pl
	kohaversion.pl
2010-01-20 23:16:34 +01:00
Kyle M Hall
2d1d4cd6e7 OpacAddMastheadLibraryPulldown
In the current OPAC, there is no easy way to search a particular library.
By default, a user searches all libraries, or with SearcMyLibraryFirst turn on,
the user's home library. In dev_week, a library pulldown menu existed in the search masthead.

This commit adds the option to bring that pulldown menu back
by turning on the system preference OpacAddMastheadLibraryPulldown
2010-01-20 22:38:23 +01:00
b7b6bf3bb5 Rotating Collection > DB upgrade to 102 2010-01-20 22:36:40 +01:00
b407a95fb8 Add OverdueNoticeBcc syspref required by overdue_notices.pl 2010-01-15 10:19:26 +01:00
Chris Nighswonger
a75558340a [29/30] Bumping version number to 3.01.00.101 2010-01-11 18:21:19 -05:00
9bebe2e914 correct DBrev
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-12-02 06:29:39 -05:00
0c7e7053e2 Renumber DB updates from merge
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-12-01 21:07:48 -05:00
Henri-Damien LAURENT
f0132aeb71 dbRev 130 : CAS System preference
Upgrade updatedatabase.pl and kohaversion
2009-11-25 12:20:16 +01:00
Henri-Damien LAURENT
37e7d9664e BZ2222 : db definition for frameworkcode in auth_subfield_structure incorrect
db definition for frameworkcode was only varchar(8)
corected to 10
2009-11-17 22:08:52 +01:00
Henri-Damien LAURENT
239e890b9d removing database revision 124
Revisions 124 and 123 were the same
2009-11-06 12:33:15 +01:00
Jean-André Santoni
7e872e0a1f [3.2.x](bug #3623) PDF printing enhancements
Renamed pdfformat to OrderPdfFormat and created OrderPdfTemplate to stock the PDF in the database.
Added a new type of syspref nammed "Upload".
Rewritte, translation and cleaning of the PDF template.
2009-11-03 16:35:29 +01:00
Henri-Damien LAURENT
1f7f00b626 Adding stocknumber field to items table 2009-11-03 16:06:20 +01:00
Jean-André Santoni
1bff217bbe [3.2.x](bug #3624) Per-basketgroup delivery place
Librarian are now able to select a different delivery place for each basketgroup. They can choose one from the branch list or manualy using a textarea.
Database schema and PDF generation have been modified to reflect these changes.
2009-11-03 16:04:59 +01:00
Jean-André Santoni
d61161a3d5 [3.2.x](bug #3624) Per-basketgroup delivery place
Librarian are now able to select a different delivery place for each basketgroup. They can choose one from the branch list or manualy using a textarea.
Database schema and PDF generation have been modified to reflect these changes.
2009-11-02 17:02:02 +01:00
Henri-Damien LAURENT
801b9767db 3.01.038 was missed and replaced by other code 2009-11-02 16:51:20 +01:00
Henri-Damien LAURENT
cdcab6ba28 MT 2146 :Adding index on issn
updateversion incremented
2009-10-29 16:41:50 +01:00
Matthias Meusburger
790b7cc1b9 MT 2037 : Update ISBD 2009-10-22 11:45:38 +02:00
Matthias Meusburger
92e204713b MT 1713 : Updated opacSerialDefaultTab syspref 2009-10-19 17:23:53 +02:00
Nahuel ANGELINETTI
d399ff3494 [biblibre-newacq](bug #3611) fix user interface and others
This big patch, fix xhtml code, and user interface.
It Delete the term of budget period and use it as "Root Budget".
It add improvment on UI, adding tooltip, and table tree.
2009-09-30 11:30:34 +02:00
Henri-Damien LAURENT
b03b55bf49 Updatedatabase for newacq 2009-09-30 11:30:28 +02:00
58ee841a73 DB rev 061: added ShowPatronImageInWebBasedSelfCheck (bug 3436)
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-16 07:44:09 -04:00
beae9c35b7 DB rev 059->060
Bumped for new patron messaging feature.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-15 22:25:42 -04:00
3e248810b2 DB rev 058->059 - add DisplayOPACiconsXSLT syspref
Pushing new new system preference DisplayOPACiconsXSLT created per bug 3545
as DB rev 059

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-15 21:40:47 -04:00
cc12f07357 DB rev 054->058
055: changed OPACSearchForTitleIn per requests in bug 1934
056: Bug 1172 : Add OPACPatronDetails syspref
057: Bug 2576 : Add OPACFinesTab syspref
058: Added primary keys to language tables

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-06 14:04:38 -04:00
c2c4f3e737 DB rev 053->054: add altcontactcountry and B_address2 to borrowers and deletedborrowers
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-06 10:23:01 -04:00
Chris Nighswonger
ee37448387 [34/40] Work on syncing db schema on both new and upgrade installs
Labels creator data migration script
Updating updatedatabase.pl and bumping db version
2009-09-01 15:53:49 -04:00
e4d57d80a2 bug 3481: add deleditems.permanent_location (DB rev 052)
Whenever a column is added to items, it must also be added
to deleteditems - otherwise, whenever an item is deleted,
it will not be saved to deleteditems.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-08-23 20:53:20 -04:00
c46a43098f assigned typo fixes to DBrev 051
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-08-23 20:37:05 -04:00
c03a3a0d92 bug 2611, 1934 followup - DBrevs 049 and 050
Assigned DBrevs as follows:

049: additional correction per bug 2611
050: OPACSearchForTitleIn system preference

Also fixed syntax errors in code for 050.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-08-23 20:27:33 -04:00
84db6a18cc bug 2611, 2761 followup
* set DB changes as revs 047 and 048
* ensured that itemcallnumber was widened to 255 in items and
  tmp_holdsqueue
* adjusted DB update descriptions

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-08-23 19:08:25 -04:00