Bug 5969 - Add News Item displays all installed languages
Summary: Add News Item displays all installed languages
Status: CLOSED WONTFIX
Alias: None
Product: Koha
Classification: Unclassified
Component: Tools (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor (vote)
Assignee: Galen Charlton
QA Contact: Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-28 09:42 UTC by Magnus Enger
Modified: 2015-06-04 23:23 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Magnus Enger 2011-03-28 09:42:04 UTC
When adding a new news item, the "Display Location" dropdown shows all installed languages, not just the ones that are enabled. Would it make more sense to just show the languages that are enabled? Or is it possible to imagine a situation where a library is working on a new language - it's installed but not enabled yet, and they might want to add some news items before it's enabled?
Comment 1 Owen Leonard 2013-04-12 19:08:59 UTC
This bug is still valid in master as of 3.12 beta2.
Comment 2 Marc Véron 2014-08-09 08:23:04 UTC
See comment on Bug 12705:

"It could be possible that a library plans to introduce an additional language. They prepare some news in this language, but do not yet enable it."
Comment 3 Mark Tompsett 2014-08-09 18:49:17 UTC
You shouldn't be able to add News items in languages that aren't enabled, so this seems more like a minor fix to me, not an enhancement.
Comment 4 Marc Véron 2014-08-09 20:24:29 UTC
Hi M.Tompsett,

I agree with 'minor' :-)

My opinion is that all installed languages should be visible, as explained in 
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12705#c3

With other words: No changes necessary.

Should this go to "In Discussion"?

Marc
Comment 5 Mark Tompsett 2014-08-09 23:14:37 UTC
My understanding of Magnus' comment #1 is this:
1) limit the list of languages in the drop down to enabled only. OR
2) list all, but then perhaps enable it after a disabled one is selected.

I personally think that this bug should do (1). This should be minor.
I do not see bug 12705 as relevant to the problem. Though, it is likely relevant to the implementation, because it corrects the dialect issue. These are going to cause one or the other to need to be rebased once one gets completed and pushed ahead of the other.
Comment 6 Marc Véron 2014-08-10 07:25:00 UTC
My opinion is that we should have behaviour 2:

- List all languages in the dropdown (do make it possible to prepare news while a language is not yet enabled)
Comment 7 Magnus Enger 2014-08-25 08:39:01 UTC
Looking back at this, I think it should be possible to create new items in languages that are installed but not yet enabled. Marking as WONTFIX. If anyone wants to change the current behaviour, please feel free to reopen.