Koha/C4
Bernardo Gonzalez Kriegel b9c4061479 Bug 12616: Locale in subscriptions not preselecting correctly
There is a problem if a language is present but
don't have ISO639-2 code. Locale pulldown on serial
suscription is malformed.

To reproduce on master:
a) remove some entries on language_rfc4646_to_iso639
b) go to Serials > New suscription
c) Put any value on Vendor and record, press Next>>
d) Look at locale pulldown, it must default to last
removed lang from a), also other langs has no value
and are also 'selected' on html

To test:
1) Reproduce the problem
2) Apply the patch
3) Add New suscription, pulldown must be fixed

NOTE: Deleted Urdu and Chinese.
      Master had both "selected" in the HTML.
      Applied patch, neither were added.
      Defaults to first item, which is blank meaning English.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
2015-06-22 11:52:35 -03:00
..
AuthoritiesMarc
Barcodes
Bookseller
ClassSortRoutine
Creators
External
Form
Heading
ILSDI
Installer
Labels
Linker
Members
OAI Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
Output
Patroncards
Reports
Search
Serials
SIP
Utils
VirtualShelves
Accounts.pm
Acquisition.pm Bug 13993: (3) Transfer order leaves incorrect orderstatus 2015-06-19 11:45:11 -03:00
Auth.pm
Auth_cas_servers.yaml.orig
Auth_with_cas.pm
Auth_with_ldap.pm
Auth_with_shibboleth.pm
AuthoritiesMarc.pm
BackgroundJob.pm
Barcodes.pm
Biblio.pm
Bookseller.pm
Boolean.pm Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
Branch.pm
Breeding.pm
Budgets.pm
Calendar.pm
Category.pm
Charset.pm
Circulation.pm
ClassSortRoutine.pm
ClassSource.pm
Context.pm
Contract.pm
CourseReserves.pm
Creators.pm
Csv.pm
Dates.pm Revert "Bug 6679: Fix 11 perlcritic violations in C4/Dates.pm" 2015-05-26 14:17:08 -03:00
Debug.pm
Heading.pm
HoldsQueue.pm
HTML5Media.pm
Images.pm Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
ImportBatch.pm
ImportExportFramework.pm
Input.pm
InstallAuth.pm
Installer.pm
ItemCirculationAlertPreference.pm Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
Items.pm
ItemType.pm
Koha.pm
Labels.pm
Languages.pm Bug 12616: Locale in subscriptions not preselecting correctly 2015-06-22 11:52:35 -03:00
Letters.pm
Linker.pm
Log.pm
MarcModificationTemplates.pm
Matcher.pm
Members.pm
Message.pm
NewsChannels.pm
Output.pm
Overdues.pm
Patroncards.pm
Print.pm
Ratings.pm
Record.pm
Reports.pm
Reserves.pm
Review.pm
Ris.pm
RotatingCollections.pm
Scheduler.pm
Scrubber.pm
Search.pm
Serials.pm
Service.pm
ShelfBrowser.pm
SMS.pm
SocialData.pm
Stats.pm
Suggestions.pm
Tags.pm
Templates.pm
TmplToken.pm
TmplTokenType.pm
TTParser.pm
UploadedFile.pm
UsageStats.pm
VirtualShelves.pm
XISBN.pm
XSLT.pm