[Koha-bugs] [Bug 23111] Setting a custom framework as the default for cataloguing is not possible
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jul 31 16:57:25 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23111
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tomascohen at gmail.com
Status|Needs Signoff |Failed QA
--- Comment #10 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
I'm sorry but this seems to me like a over-complicated approach: why don't we
add a 'default' column with a boolean value to the biblio_framework table?
Paired with a Koha::BiblioFramework->set_default method that unsets the
previous default when called. And that's it? You will need
Koha::BiblioFrameworks::get_default as well if you want to avoid crafting the
query.
in addbiblio.pl you use Koha::BiblioFramework (singular class) and you
shouldn't. WE only include the plurals, which in turn include the singular.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list