Koha/admin
Aleisha Amohia 705097f938 Bug 16035: MARC default bibliographic framework Export fix
This patch makes sure that, if there is no framework code,
     $frameworkcode is set to 'default'. This fixes the format issue.
     Then, if $frameworkcode = default, an empty string (rather than
     null) is passed to the ExportFramework method, as the framework
     code in the DB for default codes is "".

To test:
1) Go to Admin -> MARC Bibliographic framework
2) Try to export default framework in all formats, notice the file is
only exported as .ods and is an empty file. Notice warns in intranet
error log.
3) Apply patch and refresh page
4) Confirm exporting default framework works in all formats and
spreadsheet has data
5) Notice warns in error log are gone
6) Confirm export still works for other frameworks

Sponsored-by: Catalyst IT

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-09-08 12:07:55 +00:00
..
searchengine/elasticsearch
add_user_search.pl
admin-home.pl
aqbudgetperiods.pl Bug 16154: Fix some other occurrences 2016-04-26 23:16:44 +00:00
aqbudgets.pl
aqcontract.pl Bug 16154: Fix some other occurrences 2016-04-26 23:16:44 +00:00
aqplan.pl Bug 15009: QA follow-up 2016-04-29 13:00:21 +00:00
audio_alerts.pl
auth_subfields_structure.pl
auth_tag_structure.pl
authorised_values.pl Bug 16154: Fix some other occurrences 2016-04-26 23:16:44 +00:00
authtypes.pl
biblio_framework.pl Bug 17189: Replace occurrences of 'use Koha::Cache' 2016-09-08 10:24:47 +00:00
branch_transfer_limits.pl
branches.pl Bug 16259: Replace CGI->param with CGI->multi_param in list context - part 2 2016-05-16 17:28:06 +00:00
categories.pl Bug 6906 - show 'Borrower has previously issued... 2016-07-08 13:40:08 +00:00
check_budget_parent.pl
check_parent_total.pl
checkmarc.pl
cities.pl
classsources.pl
clone-rules.pl
columns_settings.pl
columns_settings.yml
currency.pl
didyoumean.pl
edi_accounts.pl
edi_ean_accounts.pl
env_tz_test.pl
fieldmapping.pl
import_export_framework.pl Bug 16035: MARC default bibliographic framework Export fix 2016-09-08 12:07:55 +00:00
item_circulation_alerts.pl
items_search_field.pl
items_search_fields.pl
itemtypes.pl
koha2marclinks.pl Bug 17189: Add the ability to define several memcached namespaces - replace existing occurrences 2016-09-08 10:24:46 +00:00
localization.pl
marc_subfields_structure.pl Bug 17189: Add the ability to define several memcached namespaces - replace existing occurrences 2016-09-08 10:24:46 +00:00
marctagstructure.pl Bug 17189: Replace occurrences of 'use Koha::Cache' 2016-09-08 10:24:47 +00:00
matching-rules.pl Bug 16154: Fix some other occurrences 2016-04-26 23:16:44 +00:00
oai_set_mappings.pl
oai_sets.pl
patron-attr-types.pl Bug 16259: Replace CGI->param with CGI->multi_param in list context - part 2 2016-05-16 17:28:06 +00:00
preferences.pl
printers.pl
smart-rules.pl Bug 14695 - Add new circulation rule 2016-09-03 00:17:56 +00:00
sms_providers.pl
sru_modmapping.pl
systempreferences.pl
transport-cost-matrix.pl
z3950servers.pl