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 Bug 2505: Enabled warnings in admin-home.pl and roadtype.pl. 2009-09-06 09:13:14 -04:00
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 Bug 5462: modified intranet scripts to match templates 2011-02-03 09:57:24 +00:00
auth_tag_structure.pl Bug 5453: Move declarations out of conditionals 2011-07-15 15:50:20 +12:00
authorised_values.pl Bug 7795 - admin/authorised_values.pl breaks with plack 2012-03-26 18:08:28 +02:00
authtypes.pl Fix FSF address in directory admin/ 2010-03-16 20:17:50 -04:00
biblio_framework.pl Fix for Bug 4424, MARC Framework deletion incorrectly reports usage count 2010-04-29 20:59:29 -04:00
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 Bug 5385: POD Cleanups (part 1) 2010-11-12 10:06:55 +13:00
check_parent_total.pl bug4438/MT5496 budget Exceeds total allocation 2011-03-14 20:45:58 +13:00
checkmarc.pl Bug 3768 (Bibliographic Framework Test) 2010-05-17 08:26:21 -04:00
cities.pl Fix for Bug 5433 - Separate state field for cities 2011-08-04 20:54:49 +12:00
classsources.pl Bug 2505 - Add commented use warnings where missing in the admin/ directory 2010-04-21 20:20:11 +12:00
clone-rules.pl Bug 2505 - Add commented use warnings where missing in the admin/ directory 2010-04-21 20:20:11 +12:00
currency.pl Bug 7797 - admin/currency.pl needs scoping for plack 2012-03-26 16:27:15 +02:00
env_tz_test.pl Bug 2617: Add strict (and warnings), partial fix. 2009-03-11 08:36:55 -05:00
fieldmapping.pl Fix for Bug 4261 - keyword mapping should show which framework the map is for 2010-11-01 20:34:36 +13:00
import_export_framework.pl Bug 5478 - Automate MARC framework import/export 2011-04-01 21:17:33 +13:00
item_circulation_alerts.pl Bug 7798 - admin/item_circulation_alerts.pl plack scoping 2012-03-26 18:09:36 +02:00
itemtypes.pl BUG6436 Don't allow deletion of an itemtype used in items.itype 2011-06-03 14:24:54 +12:00
koha2marclinks.pl Using only default framework for koha2marclinks 2010-03-16 21:27:20 -04:00
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 Bug 2505 - Add commented use warnings where missing in the admin/ directory 2010-04-21 20:20:11 +12:00
roadtype.pl Another bug 5004 fix, this time for road types 2010-11-19 09:29:48 +13:00
smart-rules.pl Bug 2505 : use warnings in smart_rules.pl 2012-04-10 11:30:20 +02:00
stopwords.pl Fix FSF address in directory admin/ 2010-03-16 20:17:50 -04:00
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