Koha/koha-tmpl/intranet-tmpl/prog/en/includes
Nick Clemens 8acf5912b3 Bug 9634: Allow for combining same paraneters in SQL reports
This patch combines report paramters with the same name and data type
(authorised value)

This presereves the past ability to provide all parameters as
'sql_params' in order to preserve existing public report links

To test:
 1 - Create a report that takes multiple parameters, e.g.:
SELECT <<cat>> AS one, <<dog|branches>> AS two, <<dog|YES_NO>> as three,
       <<cat>> as four, <<dog|branches>> as five
 2 - Run this report, note you are asked for five parameters
 3 - Apply patch
 4 - Update database
 5 - Run report, note you are asked for three params
 6 - Verify the results reflect the supplied parameters
 7 - Export the report and verify results
 8 - Alter the URL and provide 5 params as sql_params and no param_name
 variables i.e.
 http://localhost:8081/cgi-bin/koha/reports/guided_reports.pl?reports=1&phase=Run+this+report&sql_params=Banana&sql_params=CPL&sql_params=0&sql_params=Orange&sql_params=LPL
 9 - Verify results come out as expected. i.e. 5 different values that
       are those of the URL.

Signed-off-by: Victor Grousset <victor.grousset@biblibre.com>

Signed-off-by: Charles Farmer <charles.farmer@inLibro.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2018-04-11 16:45:08 -03:00
..
catalogue Bug 16485: collection column in Item search is always empty 2017-09-01 13:02:25 -03:00
csv_headers Bug 19928: Acquisitions' CSV exports now honors syspref "delimiter" 2018-02-08 14:52:01 -03:00
virtualshelves/merge
acquisitions-add-to-basket.inc
acquisitions-menu.inc Bug 19592: Move admin templates JavaScript to the footer: Acquisitions 2017-12-11 11:34:20 -03:00
acquisitions-search.inc
acquisitions-toolbar.inc Bug 18403: Add sub output_and_exit_if_error - unknown_patron & cannot_see_patron_infos 2018-02-12 15:41:38 -03:00
additem.js.inc
admin-items-search-field-form.inc Bug 19108: Fix Stored XSS in items_search_fields.pl 2017-09-29 12:20:50 -03:00
admin-menu.inc Bug 16735: Migrate library search groups into the new hierarchical groups 2018-02-12 15:41:25 -03:00
adv-search.inc Bug 18403: Update permissions - borrowers => 1|* becomes borrowers => 'edit_borrowers' 2018-02-12 15:41:37 -03:00
auth-finder-search.inc Bug 19582: Use compat routines for searching authorities in auth_finder.pl 2018-03-27 17:50:37 -03:00
authorities-search-results.inc Bug 18703 - Translatability: Resolve some remaining %%] problems for staff client in 6 Files 2017-06-16 17:04:08 -03:00
authorities-search.inc Bug 19785: Move template JavaScript to the footer: Authorities, part 1 2018-02-18 16:48:44 -03:00
authorities-toolbar.inc Bug 19785: Move template JavaScript to the footer: Authorities, part 1 2018-02-18 16:48:44 -03:00
authorities.inc
authorities_js.inc Bug 19785: Move template JavaScript to the footer: Authorities, part 1 2018-02-18 16:48:44 -03:00
av-build-dropbox.inc Bug 18682 - Translatability: Get rid of [%% in translation for 2 files av-build-dropbox.inc 2017-06-05 16:35:56 -03:00
biblio-default-view.inc
biblio-view-menu.inc
blocked-fines.inc Bug 18762: Remove warnings from xt/author/valid-templates.t 2017-06-14 14:36:28 -03:00
blocking_errors.inc Bug 18403: Add sub output_and_exit_if_error - unknown_patron & cannot_see_patron_infos 2018-02-12 15:41:38 -03:00
borrower_debarments.inc Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00
branch-selector.inc Bug 18693: Translatability: Get rid of exposing a [%% FOREACH loop in translation for branch-selector.inc 2017-06-05 16:47:22 -03:00
browser-strings.inc
budgets-active-currency.inc
budgets-admin-search.inc
budgets-admin-toolbar.inc Bug 18403: Add sub output_and_exit_if_error - unknown_patron & cannot_see_patron_infos 2018-02-12 15:41:38 -03:00
calendar.inc Bug 18447 - Datepicker only shows -10/+10 years 2017-08-25 11:38:46 -03:00
cat-menu.inc
cat-search.inc
cat-toolbar.inc Bug 18403: Add sub output_and_exit_if_error - unknown_patron & cannot_see_patron_infos 2018-02-12 15:41:38 -03:00
catalog-strings.inc Bug 17893 - Move JavaScript to the footer on staff client catalog pages 2017-09-07 14:05:49 -03:00
cataloging-search.inc
cateditor-ui.inc Bug 19267: Rancor - Warn before leaving page if record modified 2018-04-04 16:06:57 -03:00
cateditor-widgets-marc21.inc Bug 17288: (follow-up) Remove unneccessary Date() function 2017-08-25 10:59:04 -03:00
checkin-search.inc
checkouts-table-footer.inc
checkouts-table.inc
circ-menu.inc Bug 19488: (QA follow-up) Fix spelling, remove () 2018-03-29 11:42:06 -03:00
circ-nav.inc
circ-patron-search-results.inc Bug 18474: (QA follow-up) Remove useless else in template 2018-04-02 18:07:34 -03:00
circ-search.inc
cities-admin-search.inc
columns_settings.inc Bug 9573: Lost items report - add KohaTable to itemlost 2018-02-17 18:32:14 -03:00
contracts-admin-search.inc
country-list.inc
currencies-admin-search.inc
datatables.inc Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
date-format.inc
delimiter_text.inc Bug 19910: Use span to make translators happy 2018-04-04 16:06:56 -03:00
doc-head-close-receipt.inc Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
doc-head-close.inc Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
doc-head-open.inc
empty_line.inc Bug 18331: Force tt to insert newline to empty_line.inc 2017-08-15 12:17:40 -03:00
facets.inc
form-blocks.inc
format_price.inc
greybox.inc Bug 20193: Path to Greybox CSS broken after Bug 12904 2018-02-16 13:01:03 -03:00
guided-reports-view.inc Bug 19856: Improve styling of reports sidebar 2018-03-23 11:45:38 -03:00
header.inc Bug 20135: Prevent staff client language choose pop-up from appearing off-screen 2018-02-13 12:50:34 -03:00
help-bottom.inc
help-top.inc Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
home-search.inc Bug 18403: Update permissions - borrowers => 1|* becomes borrowers => 'edit_borrowers' 2018-02-12 15:41:37 -03:00
html_helpers.inc Bug 18884: Advanced search on staff client, Availability limit not properly limiting 2017-10-27 13:57:10 -03:00
ill-toolbar.inc Bug 7317: Handle backend absense more gracefuly 2017-11-09 11:42:14 -03:00
installer-doc-head-close.inc Bug 20173: Fix favicon.ico path in installer 2018-03-19 13:55:47 -03:00
installer-strings.inc Bug 17942 - Update style of the web installer with Bootstrap 3 2017-05-09 20:54:30 +00:00
intranet-bottom.inc Bug 20135: Prevent staff client language choose pop-up from appearing off-screen 2018-02-13 12:50:34 -03:00
intranetstylesheet.inc Bug 12904: Fix occurrences not caught by script 2018-02-08 14:53:24 -03:00
js_includes.inc Bug 19290: Browse selected bibliographic records - Staff interface 2018-02-19 16:13:30 -03:00
labels-toolbar.inc Bug 18403: Add sub output_and_exit_if_error - unknown_patron & cannot_see_patron_infos 2018-02-12 15:41:38 -03:00
langmenu-staff-top.inc Bug 20135: Prevent staff client language choose pop-up from appearing off-screen 2018-02-13 12:50:34 -03:00
letters-search.inc
member-alt-address-style-de.inc Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00
member-alt-address-style-fr.inc Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00
member-alt-address-style-us.inc Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00
member-alt-contact-style-de.inc Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00
member-alt-contact-style-fr.inc Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00
member-alt-contact-style-us.inc Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00
member-display-address-style-de.inc Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00
member-display-address-style-fr.inc Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00
member-display-address-style-us.inc Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00
member-display-alt-address-style-de.inc Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00
member-display-alt-address-style-fr.inc Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00
member-display-alt-address-style-us.inc Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00
member-main-address-style-de.inc Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00
member-main-address-style-fr.inc Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00
member-main-address-style-us.inc Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00
members-menu.inc Bug 18403: Update permissions - borrowers => 1|* becomes borrowers => 'edit_borrowers' 2018-02-12 15:41:37 -03:00
members-toolbar.inc Bug 18789: Use Koha::Patron->is_adult where needed 2018-02-16 13:03:58 -03:00
merge-record-strings.inc
merge-record.inc
messaging-preference-form.inc Bug 19641: Move patron templates to the footer 2018-02-15 13:30:23 -03:00
nl-search-form.tt
noadd-warnings.inc
onboarding_messages.inc Bug 19514: Implement password restrictions into onboarding tool 2017-12-14 16:57:56 -03:00
page-numbers.inc Bug 19290: Browse selected bibliographic records - Staff interface 2018-02-19 16:13:30 -03:00
password_check.inc Bug 19908: Do not use .optional in password match validation function 2018-03-19 12:23:13 -03:00
patron-article-requests.inc
patron-search-box.inc
patron-search.inc Bug 18789: Use the patron variable in circulation.[pl|tt] 2018-02-16 13:03:58 -03:00
patron-title.inc Bug 20382: Missing space between patron and cardnumber on check out screen 2018-03-19 13:55:53 -03:00
patron-toolbar.inc Bug 20205: Add IDs to buttons in patron-toolbar.inc 2018-02-16 13:03:58 -03:00
patroncards-errors.inc Bug 18660: Translatability: Get rid of template directives [%% in translation for patroncards-errors.inc 2017-08-30 16:43:36 -03:00
patroncards-toolbar.inc Bug 18403: Add sub output_and_exit_if_error - unknown_patron & cannot_see_patron_infos 2018-02-12 15:41:38 -03:00
patrons-admin-search.inc
permissions.inc Bug 15492: New sysprefs and permissions 2018-03-26 17:31:18 -03:00
popup-bottom.inc Bug 19608: (QA follow-up) Fix redirect on localization modal 2017-12-26 12:52:33 -03:00
prefs-admin-search.inc Bug 16726: Clear text in syspref searchbox after submitting 2017-09-01 13:00:06 -03:00
prefs-menu.inc
quotes-toolbar.inc
quotes-upload-toolbar.inc
reports-menu.inc Bug 19856: (follow-up) Improve styling of reports sidebar 2018-03-23 11:45:38 -03:00
reports-toolbar.inc Bug 9634: Allow for combining same paraneters in SQL reports 2018-04-11 16:45:08 -03:00
resort_form.inc
rotating-collections-toolbar.inc Bug 18403: Add sub output_and_exit_if_error - unknown_patron & cannot_see_patron_infos 2018-02-12 15:41:38 -03:00
search_indexes.inc Bug 19807: Make IntranetCatalogSearchPulldown honor IntranetNumbersPreferPhrase 2018-01-02 12:58:55 -03:00
select2.inc Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
serials-menu.inc
serials-search.inc
serials-toolbar.inc Bug 18403: Add sub output_and_exit_if_error - unknown_patron & cannot_see_patron_infos 2018-02-12 15:41:38 -03:00
slip-print.inc Bug 17014 - Remove more event attributes from patron templates 2017-03-31 14:33:51 +00:00
strings.inc Bug 19444: Display error message for auto_account_expired 2017-12-18 12:16:26 -03:00
subscriptions-search.inc
subtypes_unimarc.inc
suggestions-add-search.inc
timepicker.inc
tools-item-action.inc
tools-menu.inc Bug 19647: Move patron lists templates JS to the footer 2017-12-11 11:34:20 -03:00
tools-nomatch-action.inc
tools-overlay-action.inc
validator-strings.inc
vendor-menu.inc
virtualshelves-toolbar.inc Bug 18403: Add sub output_and_exit_if_error - unknown_patron & cannot_see_patron_infos 2018-02-12 15:41:38 -03:00
wysiwyg-systempreferences.inc Bug 20190: Replace intranet-tmpl with [% interface %] 2018-02-13 12:57:46 -03:00
z3950-admin-search.inc
z3950_search.inc