Koha/admin
Kyle M Hall 47e4f3ed84 Talking Tech Support - Phase I - Followup - Fix Messaging Preferences
There is a flaw in C4::Members::Messaging::GetMessagingPreferences where
the system assumes that every transport will use the same letter. This
is not necessarily true. Even with the default preferences of just
'email' and 'sms', we should be able to have different letters
for each, as one has a maximum character length ( sms ) and one
does not. GetMessagingPreferences currently uses the letter code
of the last result of its query as the letter code for every transport type.

The returned data is a hashref with a key 'transport_types' that is
an array of transport_types this borrower has selected for the given
alert.

This commit modifies GetMessagingPreferences such that the the
'transport_types' array is now a hash where the name of the transport
type is now a key to the value of the letter code set for that transport
type.

It also modifies code calling GetMessagingPreferences where necessary,
and as a side benefit will correctly get the letter codes for email
and sms correctly, if they are defined differently.

http://bugs.koha-community.org/show_bug.cgi?id=4246
Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>

In use in production by two libraries: Middletown and Washoe
who give their sign off but don't have git to do so.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
2012-06-10 17:46:58 +02:00
..
admin-home.pl
aqbudget_owner_search.pl bug_6253: Unified member Search() 2011-10-19 16:23:02 +13:00
aqbudgetperiods.pl Bug 6943: Added ability to duplicate a budget tree (from the edit sub menu) 2012-02-03 17:53:59 +01:00
aqbudgets.pl Bug 3969 follow-up = budget name field is budget_name, not name 2012-04-20 16:59:35 +02:00
aqcontract.pl Bug 7113: Standardize vendor id name in templates and scripts 2012-02-17 19:04:00 +01:00
aqplan.pl Bug 6752: Be stricter with utf-8 encoding of output 2012-01-27 12:11:06 +01:00
auth_subfields_structure.pl
auth_tag_structure.pl
authorised_values.pl Bug 7795 - admin/authorised_values.pl breaks with plack 2012-03-26 18:08:28 +02:00
authtypes.pl
biblio_framework.pl
branch_transfer_limits.pl Bug 6842 FU : library transfer limits edits not stored 2012-02-01 22:47:56 +01:00
branches.pl bug_7264: [SIGNED-OFF] Branch popup on OPAC detail.Added opac_info field to branches table. 2012-03-22 11:50:00 +01:00
categorie.pl Talking Tech Support - Phase I - Followup - Fix Messaging Preferences 2012-06-10 17:46:58 +02:00
check_budget_parent.pl
check_parent_total.pl
checkmarc.pl
cities.pl
classsources.pl
clone-rules.pl
currency.pl Bug 7797 - admin/currency.pl needs scoping for plack 2012-03-26 16:27:15 +02:00
env_tz_test.pl
fieldmapping.pl
import_export_framework.pl
item_circulation_alerts.pl Bug 7798 - admin/item_circulation_alerts.pl plack scoping 2012-03-26 18:09:36 +02:00
itemtypes.pl
koha2marclinks.pl
marc_subfields_structure.pl Bug 3413: Checkboxes for new subfields not saving correctly 2012-05-07 22:23:49 +02:00
marctagstructure.pl Bug 7799 - admin/marctagstructure.pl plack scoping 2012-03-26 18:15:56 +02:00
matching-rules.pl Bug 7800 - admin/matching-rules.pl plack scoping 2012-03-26 18:11:57 +02:00
oai_set_mappings.pl Bug 6440: Implement OAI-PMH Sets 2012-03-20 11:38:26 +01:00
oai_sets.pl Bug 6440: Implement OAI-PMH Sets 2012-03-20 11:38:26 +01:00
patron-attr-types.pl Bug 7801 - admin/patron-attr-types.pl plack scoping 2012-03-26 18:12:36 +02:00
preferences.pl Bug 7330 - System preferences editor generates errors in the log with each search 2011-12-15 17:24:44 +01:00
printers.pl
roadtype.pl
smart-rules.pl Bug 2505 : use warnings in smart_rules.pl 2012-04-10 11:30:20 +02:00
stopwords.pl
systempreferences.pl bug_7398: Replaced OPACDisplayRequestPriority syspref with OPACShowHoldQueueDetails 2012-05-24 15:32:19 +02:00
z3950servers.pl Bug 8027: fix param order for z3950 INSERT 2012-05-07 21:58:25 +02:00