Commit Graph

3718 Commits

Author SHA1 Message Date
Victor Grousset/tuxayo fdc0cfa713 Bug 25184: RMaint follow-up: DBRev 19.05.11.002: Replay of 19.05.10.003 upgrade to fix typo
It's to ensure the changes are done because it initially had a typo.
Because fixing the typo wasn't enough since the typo was released.
So people who upgraded to 19.05.11 didn't have the DB changes.

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2020-06-12 01:56:35 +02:00
Joy Nelson 3bbc5ca0ec Bug 24854: DBRev 19.05.11.001
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>

(cherry picked from commit a17ea63d02)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2020-06-04 21:48:21 +02:00
Jonathan Druart ffee7128d4 Bug 24854: Disable IDreamBooks sysprefs
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>

(cherry picked from commit 12b91faa04)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2020-06-04 21:47:58 +02:00
Lucas Gass 0578902e91 Bug 25184: Rmaint follow-up: fix updatedatabase typo
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-05-28 22:48:12 +00:00
Lucas Gass 742460549f Increment version for 19.05.11 release
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-05-22 20:06:03 +00:00
Lucas Gass 0d4f529dec Bug 25184: DBRev 19.05.10.003
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-05-15 22:00:59 +00:00
Kyle M Hall 0b5c428eed Bug 25184: Add syspref
It's entirely possible that some libraries are relying on the current
before for part of their workflow. Do to this possibility, it seems like
a good idea to control this behavior via a system preference.

Test Plan:
1) Apply this patch set
2) Run updatedatabase.pl
3) Set TrapHoldsOnOrder to "don't trap"
4) Set an item's notforloan value to -1
5) Place a hold on that item
6) Check in the item
7) Note the item is not trapped for hold
9) Set TrapHoldsOnOrder to "trap"
10) Check in the item
11) Koha should now ask if you'd like to trap the item for the hold!

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit bb3893720d)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-05-15 21:54:31 +00:00
Katrin Fischer cc47b47d4f Bug 22335: Fix comment on suggestions.STATUS in kohastructure.sql
The description on STATUS was incomplete, missing 2 status and
the SUGGEST_STATUS category.

To test:
- Later this will show up in schema.koha-community.org, but
  for now it can only be verified reading the patch.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit e98dc9494a)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-05-15 21:23:44 +00:00
Lucas Gass dc9b62f8fd Bug 23081: DBRev 19.05.10.002
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-05-14 21:49:28 +00:00
Andrew Fuerste-Henry b12a6ca9cc Bug 23081: atomicupdate for change to existing installs
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit c760d08300)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-05-14 21:42:58 +00:00
Andrew Fuerste-Henry 6bef3c3c69 Bug 23081: set default to 0 for items.issues and deleteditems.issues
To test:
- save and run this sql query in reports: select sum(if(issues is null,1,0)),sum(if(issues=0,1,0)) from items
- you should see a lot of nulls and no zeros
- apply patch
- updatedatabase
- re-run your query and see that your nulls have changed to zeros
- create a new item
- rerun your query and see your new item is counted in the zeros, not the nulls

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 02896efdf3)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-05-14 21:42:43 +00:00
Lucas Gass b2a046f25d Bug 20882: (Rmaint follow-up) fix shebang typo
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-05-14 14:37:05 +00:00
Lucas Gass 0f293662c3 Bug 20754: DBRev 19.05.11.001
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-05-11 21:27:29 +00:00
Marcel de Rooy 70447d05de Bug 20754: DB revision to remove double accepted shares
[Originally submitted for bug 11943, parked at 20754.]
[Attempt to revive it now.]

Although it is no problem to have them, we could do a cleanup.
This patch just removes duplicate rows from the table.

Note: I considered adding a unique index like:
    ALTER TABLE virtualshelfshares ADD UNIQUE INDEX (shelfnumber, borrowernumber, invitekey);
But the possible NULL values in borrowernumber and/or invitekey require
additional code changes. So I left it alone.

Test plan:
[1] Create two records with same borrowernumber and shelfnumber in the shares
    table, if not present already.
[2] Run updatedatabase.pl

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit ba3bed7afe)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-05-11 15:22:52 -06:00
Lucas Gass bdcca930f7 Increment version for 19.05.10 release
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-04-22 21:36:31 +00:00
Jonathan Druart 8ef75d10e4 Bug 24856: Remove itemtypes.imageurl in fr-FR sample data
in installer/data/mysql/fr-FR/3-LecturePub/sample_itemtypes.sql and installer/data/mysql/fr-FR/4-Conservation/sample_itemtypes.sql the values of imageurl point to non-existent images.

Test plan:
Insert the 2 sql file and confirm that imageurl is not empty

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 25a00e828d)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-04-13 17:59:38 +00:00
Jonathan Druart 499d53b00a Bug 24851: Translate the .txt in French
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 2244ed8072)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-04-13 16:19:15 +00:00
Jonathan Druart 2dde0c9f33 Bug 24851: Insert libraries sample data for "UNIMARC"
I am trying to make koha-testing-docker UNIMARC compabible.
In order to have koha-misc4dev insert all the data correctly (users, etc.) we need at least 1 library.
I am suggesting to reuse the usual library list for UNIMARC.

misc4dev will use fr-FR sample data for "UNIMARC"
This is related to https://gitlab.com/koha-community/koha-misc4dev/issues/29

Test plan:
outside your box, in koha-testing-docker (up-to-date), edit .env and set
 KOHA_MARC_FLAVOUR=unimarc
 DEBUG_GIT_REPO_MISC4DEV_URL=https://gitlab.com/joubu/koha-misc4dev.git
 DEBUG_GIT_REPO_MISC4DEV_BRANCH=unimarc

Then start the koha container
When the misc4dev will start its job, the scripts will have the expected
data to continue.

Without this patch you will get
koha_1       | Not enough data in the database, library and/or patron category does not exist at /kohadevbox/misc4dev/create_superlibrarian.pl line 31.

And plenty of errors will follow.

Also, the sample data used in misc4dev will use CPL
(/kohadevbox/misc4dev/data/sql/unimarc/1812/after_22155/items.sql)

Signed-off-by: Jon Knight <J.P.Knight@lboro.ac.uk>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit e513e32d0e)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-04-13 16:18:33 +00:00
Lucas Gass 1c33ab2a76 Increment version for 19.05.09 release
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-03-25 16:00:40 +00:00
Lucas Gass dce4df939c Bug 24846: DBRev 19.05.08.004
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-03-24 15:38:34 +00:00
Jonathan Druart bb6c483a24 Bug 24846: Add new permission batch_extend_due_dates
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-03-24 15:31:29 +00:00
Lucas Gass ebc29c6fda Bug 21663: DBRev 19.05.003
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-03-18 22:18:58 +00:00
Nick Clemens 144577b5ae Bug 21633: (follow-up) Cleanup other values for finesMode
Signed-off-by: Magnus Enger <magnus@libriotech.no>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 916dd8d723)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-03-18 22:00:45 +00:00
Nick Clemens ded74f80e3 Bug 21633: Remove finesMode 'test'
Signed-off-by: Magnus Enger <magnus@libriotech.no>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit aab0258799)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-03-18 22:00:19 +00:00
Lucas Gass 8839904934 Bug 24260: DBRev 19.05.08.002
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-03-10 22:40:07 +00:00
Jonathan Druart 12ac783d98 Bug 24640: Allow quotes.timestamp to be NULL
It is broken with strict mode enable, timestamp is created without
default value.

Note that the .sql installer file init the value with NOW(), which is
wrong.

DBD::mysql::st execute failed: Field 'timestamp' doesn't have a default
value [for Statement "INSERT INTO quotes (source, text) VALUES (?, ?);"
with ParamValues: 0="poeut", 1="pouet"] at
/kohadevbox/koha/tools/quotes/quotes_ajax.pl line 49.

Test plan:
Create a new quote of the day
=> Without this patch you will get an error

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 9bf4f492d8)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-03-10 22:36:57 +00:00
Lucas Gass 7b3c2d287a Bug 20882: DBRev 19.05.08.001
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-03-09 21:12:51 +00:00
Marcel de Rooy 2691b65213 Bug 20882: Move items.uri to mediumtext
Applies to items and deleteditems.

Test plan:
Run new install or upgrade. Check field size.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 853d0ee468)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-03-09 20:59:08 +00:00
Lucas Gass a8dd62fb56 Increment version for 19.05.08 release
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-02-21 16:46:55 +00:00
Lucas Gass bd8bdcaadc Bug 22868: DBRev 19.05.07.005
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-02-14 20:23:10 +00:00
Jonathan Druart f0c60dfe6f Bug 22868: Move suggestions_manage subperm out of acquisition perm
Bug 11911 replaced the permission of suggestions.pl (create a purchase
suggestion) from catalogue => 1 to acquisition => 'suggestions_manage'.
However we have a lot of acquisition scripts that have lax permissions
(acquisition => '*' which means any sub permissions of acquisition is
enough).

That causes problem when a circulation staff can create purchase
suggestions but not access acquisition information.

One solution is to move the suggestions_manage subpermission out of the
acquisition permission and create a new suggestion permission.

Test plan:
0. Setup
* Create a patron with several permission (and full acquisition
permission)
* Create another patron with several permission, and suggestions_manage
permission
* Create another patron without the suggestions_manage permission
1. Apply the patch and execute the update database entry
2. Note that the third patron you create still does not have
suggestions_manage
3. Confirm that you can create a purchase suggestion if you have
suggestions_manage, but cannot access acquisition pages if you do not
have any subpermissions of the acquisition permission

Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 462db68024)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-02-14 20:19:59 +00:00
Lucas Gass f8c6d6fdd7 Bug 24289: DBRev 19.05.07.004
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-02-13 21:09:05 +00:00
Jonathan Druart ad75bdf50e Bug 24289: Make sure sample_holidays will load after sample_libraries
They are inserted depending on their alpha order, and sample_holidays
will fail because of missing branchcode.
This patch suggests a simple fix: rename sample_holidays to
sample_libraries_holidays, to make sure it will be loaded after
sample_libraries

Test plan:
Start a fresh installation and select all sample data

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit d950985d17)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-02-13 21:02:18 +00:00
Jonathan Druart 9f6e2fa552 Bug 24289: Add foreign keys on *_holidays.branchcode tables
Those are missing foreign keys, it will also clean the holidays tables
and automatically remove the holidays when a library is removed.

Test plan:
0. Do not apply this patch
1. Create a new library
2. Create special and repeatable holiday for this library
3. Remove the library
=> Notice that the holidays still exist in DB
4. Apply this patch
5. Execute the update database entry
=> Notice that the holidays for this library have been removed from the DB
6. Repeat 1-3
=> Notice that the holidays have been removed along with the library

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 8d42c6be90)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-02-13 21:01:50 +00:00
Lucas Gass 1e42fb1715 Bug 24206: (follow-up) fix typos in shebang
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-02-13 15:20:52 +00:00
Lucas Gass e1dbc13903 Bug 24206: (follow up) fix updatedatabase error
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-02-12 23:38:14 +00:00
Caroline Cyr La Rose 4428f6714b Bug 23790: fr-CA translation of ACCOUNT_DEBIT and ACCOUNT_CREDIT notices
This patch provides the fr-CA translation of the ACCOUNT_DEBIT and ACCOUNT_CREDIT notices.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Tested deleting from letter table, then loading the file.
File loads without problem, no errors.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 1d49b0c839)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-02-12 22:48:10 +00:00
Lucas Gass 6eed9de8b6 Bug 24206: DBRev 19.05.07.003
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-02-12 22:42:28 +00:00
Katrin Fischer 822f6094a3 Bug 24206: Update content of OpacSearchForTitleIn for existing installations
This includes a database update for existing installations.
Using the REPLACE function it makes the same changes to the URLs
as the previous patch did for new installations:

- Worldcat: now https
- BookFinder: now https
- OpenLibrary: remove / before search parameters

To test:
- Verify the current content of your preference OpacSearchForTitleIn
  (without changes from first patch!)
- Run the database update
- Verify everything still works, but changes have been made

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 8efad71adb)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-02-12 22:36:23 +00:00
Katrin Fischer e9ca854c02 Bug 24206: Update URLs for default options in OPACSearchForTitleIn
- Worldcat: now https
- BookFinder: now https
- OpenLibrary: remove / before search parameters

To test:
- Verify changes to the installer files are correct
- Bonus: run the web installer for en, de-DE and nb-NO and
  verfiy the content of OPACSearchForTitleIn is correct

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 60e9ae92ee)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-02-12 22:35:59 +00:00
Lucas Gass f633d841b2 Bug 24329: DBRev 19.05.07.002 2020-02-05 20:54:14 +00:00
Martin Renvoize a258da5ef4 Bug 24329: Prevent update of timestamp on action_logs updates
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit cff5d11731)
2020-02-05 20:48:07 +00:00
Martin Renvoize e1a020da74 Bug 24329: Correction to updatedatabase
Ensure timestamp is not overwriteen during upgrade when applying updates
for bug 3820

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 4ac096c1a5)
2020-02-05 20:47:45 +00:00
Lucas Gass 0bf37bf67a Bug 23233: DBRev 19.05.07.001 2020-01-31 20:57:19 +00:00
Joonas Kylmälä 2c1c5a7d15 Bug 23233: (follow-up) Add description to atomic upgrade
Signed-off-by: Lari Taskula <lari.taskula@hypernova.fi>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 23b7cc3762)
2020-01-31 20:51:25 +00:00
Kyle M Hall 366a80fb5b Bug 23233: AllowItemsOnHoldCheckout is misnamed and does not indicate it is for SIP-based checkouts only
The system preference AllowItemsOnHoldCheckout only affects SIP based checkouts. I believe we should rename it AllowItemsOnHoldCheckoutSIP so it matches AllowItemsOnHoldCheckoutSCO. We should also update the description as well.

As far as I know AllowItemsOnHoldCheckout has never affected anything except SIP traffic. That does not preclude the addition of another AllowItemsOnHoldCheckout syspref that would affect the staff interface, but that would be an enhancement and is outside the scope of this bug report.

Test Plan:
1) Test AllowItemsOnHoldCheckout via SIP
2) Apply this patch
3) Test AllowItemsOnHoldCheckoutSIP via SIP
4) Note there is no difference!
5) Note the syspref description has been update to mention SIP

Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 5476e77021)
2020-01-31 20:49:49 +00:00
Lucas Gass 073f142831 Increment version for 19.05.07 release
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-01-22 21:39:26 +00:00
Jonathan Druart 2fd6ad222b Bug 24328: Fix bibliographic frameworks install (linkid)
With strict mode enabled (tested with MariaDB 10.4.11)

ERROR 1366 (22007) at line 8029: Incorrect integer value: '' for column
`koha_kohadev`.`auth_subfield_structure`.`linkid` at row 769

Test plan:
Insert the .sql files from this patch and confirm that you can now
insert them correctly

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 618336fd14)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-01-15 23:06:00 +00:00
Katrin Fischer 57afdc4aa9 Bug 24314: Update de-DE MARC21 frameworks for updates 28+29 (May and November 2019)
This updates the MARC framework files in the de-DE (German) installer
to the latest MARC standard. The files also include some translation
changes and fixes.

Files have been generated using the po files on translate.koha-community.org.

To test:
- Run the de-DE installer on a fresh database
- Verify that all files are installed without errors
- Verify that the frameworks are correctly in place

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
MARC21 files load without problems, no qa errors.
Loaded into 'en' install (delete fw then load) all frameworks look good.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 58b722ddf6)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-01-15 23:00:44 +00:00
Bernardo Gonzalez Kriegel 3a1ba28fa2 Bug 24312: Update MARC21 frameworks to Updates 28+29 (May and November 2019)
MARC21 format changes

Bibliographic
-------------
Update 28 (May 2019)

New subfield f in 540
New subfield g in 506,540
New subfield q in 506,540
New subfield 2 in 540
New subfield 2 in 100,110,111,130,240,
                  700,710,711,730,758
                  800,810,811,830
New subfield 7 in 856
New code b in 007/01 Sound Recording

Update 29 (November 2019)

New field 688
New subfield i in 041
New subfield t in 041
New subfield g in 751
Renamed subfield g in 041

Authority
---------
Update 28 (May 2019)

New subfield 0 and 1 in 024
Renamed subfield 2 in 024
New subfield 7 in 856

Update 29 (November 2019)
No changes

To test:
1) Remove all your frameworks
2) Check mandatory bibliographic and authority files load without problem
3) Check new fields/subfields

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit b975b6d471)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-01-15 22:57:14 +00:00