[Koha-bugs] [Bug 15530] Editing a course item via a disabled course disables it even if it is on other enabled courses

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 19 16:40:05 CET 2016


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15530

--- Comment #9 from Kyle M Hall <kyle at bywatersolutions.com> ---
(In reply to Jonathan Druart from comment #8)
> Kyle, where is this enable/disable value used?

"enabled" on a course item tells us if the fields have been swapped with the
actual corresponding item fields. The incorrect assumption in the code was that
the "enabled" value of the course an item was on would match the "enabled"
value of the course itself. This is incorrect, as the value of "enabled" should
be yes if *any* course the item is on is enabled.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list