[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
Sun Apr 5 06:43:20 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23111

--- Comment #16 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Hayley Mapley from comment #12)
> (In reply to Tomás Cohen Arazi from comment #10)
> > 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.
> 
> Hi Tomás,
> 
> Have included a follow-up patch to change the use statements to plural
> classes.
> 
> We're looking into your suggestions now.
> 
> How do you see the interface for this implemented? 
> i.e. How should the librarians in your opinion set a framework to be the
> default?

A checkbox on the framework edit page. And a confirmation modal.

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


More information about the Koha-bugs mailing list