Bug 40088

Summary: Do not show edit button for default framework
Product: Koha Reporter: Fridolin Somers <fridolin.somers>
Component: System AdministrationAssignee: Fridolin Somers <fridolin.somers>
Status: Pushed to oldstable --- QA Contact: Marcel de Rooy <m.de.rooy>
Severity: minor    
Priority: P5 - low CC: david, gmcharlt, m.de.rooy
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: Trivial patch Documentation contact:
Documentation submission: Text to go in the release notes:
This fixes MARC structure page for the default bibliographic framework. It removes the 'Edit framework' button at the top of the page, as you can't actually edit the default framework description (Koha administration > Catalog > MARC bibliographic framework, for the default framework select Actions > MARC structure.)
Version(s) released in:
25.11.00,25.05.02,24.11.08
Circulation function:
Bug Depends on: 39827    
Bug Blocks:    
Attachments: Bug 40088: Do not show edit button for default framework
Bug 40088: Do not show edit button for default framework
Bug 40088: Do not show edit button for default framework

Description Fridolin Somers 2025-06-06 09:58:19 UTC
In Administration > MARC bibliographic frameworks > "MARC structure":
Do not show "Edit framework" button in tools bar since one can not edit the default framework description.
Currently it leads to new framework creation.
Comment 1 Fridolin Somers 2025-06-06 10:02:05 UTC
Created attachment 183066 [details] [review]
Bug 40088: Do not show edit button for default framework

In Administration > MARC bibliographic frameworks > "MARC structure":
Do not show "Edit framework" button in tools bar since one can not edit the default framework description.
Currently it leads to new framework creation.

Test plan :
1) Go to Administration > MARC bibliographic frameworks
2) On default framework row, click Actions > MARC structure
3) Check you dont see in tool bar "Edit framework" button
4) Go to Administration > MARC bibliographic frameworks
5) On a framework row (not default one), click Actions > MARC structure
6) Check you see in tool bar "Edit framework" button
Comment 2 Owen Leonard 2025-06-06 17:00:27 UTC
Created attachment 183076 [details] [review]
Bug 40088: Do not show edit button for default framework

In Administration > MARC bibliographic frameworks > "MARC structure":
Do not show "Edit framework" button in tools bar since one can not edit
the default framework description.
Currently it leads to new framework creation.

Test plan :
1) Go to Administration > MARC bibliographic frameworks
2) On default framework row, click Actions > MARC structure
3) Check you dont see in tool bar "Edit framework" button
4) Go to Administration > MARC bibliographic frameworks
5) On a framework row (not default one), click Actions > MARC structure
6) Check you see in tool bar "Edit framework" button

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Comment 3 Marcel de Rooy 2025-07-09 14:40:59 UTC
Created attachment 183897 [details] [review]
Bug 40088: Do not show edit button for default framework

In Administration > MARC bibliographic frameworks > "MARC structure":
Do not show "Edit framework" button in tools bar since one can not edit
the default framework description.
Currently it leads to new framework creation.

Test plan :
1) Go to Administration > MARC bibliographic frameworks
2) On default framework row, click Actions > MARC structure
3) Check you dont see in tool bar "Edit framework" button
4) Go to Administration > MARC bibliographic frameworks
5) On a framework row (not default one), click Actions > MARC structure
6) Check you see in tool bar "Edit framework" button

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Comment 4 Lucas Gass (lukeg) 2025-07-11 21:29:28 UTC
Nice work everyone!

Pushed to main for 25.11
Comment 5 Paul Derscheid 2025-07-24 08:20:11 UTC
Nice work everyone!

Pushed to 25.05.x
Comment 6 Fridolin Somers 2025-07-31 13:25:40 UTC
Pushed to 24.11.x for 24.11.08