[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-06-04 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Jonathan Druart  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #192 from Jonathan Druart  ---
New template (here tools/restore-records.tt) must use main-container.inc.
Please see bug 42330.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-06-03 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

koha-US bug tracker  changed:

   What|Removed |Added

 CC||[email protected]

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-05-24 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Jacob O'Mara  changed:

   What|Removed |Added

 Status|Pushed to main  |Needs documenting

--- Comment #191 from Jacob O'Mara  ---
This will not be backported to 25.11.x due to it being deemed an enhancement or
a dependancy not being met

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-04-16 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Lucas Gass (lukeg)  changed:

   What|Removed |Added

   Keywords|additional_work_needed  |

--- Comment #190 from Lucas Gass (lukeg)  ---
follow-up pushed to main

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-04-16 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #189 from Lucas Gass (lukeg)  ---
Created attachment 197505
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197505&action=edit
Bug 17387: (RM follow-up) Make Permissions.t tests pass

Patch from commit f2357b5

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-04-16 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Lucas Gass (lukeg)  changed:

   What|Removed |Added

   Keywords||additional_work_needed

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-04-15 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #188 from Lucas Gass (lukeg)  ---
Nice work everyone!

Pushed to main for 26.05

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-04-15 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Lucas Gass (lukeg)  changed:

   What|Removed |Added

 Status|Passed QA   |Pushed to main
 Version(s)||26.05.00
released in||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-04-02 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Catrina Berka  changed:

   What|Removed |Added

 CC||[email protected]
   ||m

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Nick Clemens (kidclamp)  changed:

   What|Removed |Added

 Attachment #194231|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Nick Clemens (kidclamp)  changed:

   What|Removed |Added

 Attachment #194228|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #187 from Nick Clemens (kidclamp)  ---
Created attachment 196332
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196332&action=edit
Bug 17387: (QA follow-up) Add nonce to remaining script tag

Patch from commit 3543182

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #186 from Nick Clemens (kidclamp)  ---
Created attachment 196331
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196331&action=edit
Bug 17387: (follow-up) move js to dedicated file as per coding guidelines

Also amend _ to __ for translatable strings

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #185 from Nick Clemens (kidclamp)  ---
Created attachment 196330
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196330&action=edit
Bug 17387: (follow-up) make deleted_on column searchable

Patch from commit 9448db6

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #184 from Nick Clemens (kidclamp)  ---
Created attachment 196329
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196329&action=edit
Bug 17387: (follow-up) fix embed items on get deleted biblio

Add x-koha-embed parameter to GET /deleted/biblios/{biblio_id} and use
$c->objects->to_api() to properly handle embedding items.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #183 from Nick Clemens (kidclamp)  ---
Created attachment 196328
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196328&action=edit
Bug 17387: (follow-up) move records_restore under editcatalogue permission

The restore functionality is a cataloguing operation and should live
under the editcatalogue permission module (bit 9) rather than tools
(bit 13), consistent with where it appears in the UI.

Update all references:
- userpermissions.sql and atomicupdate: module_bit 13 → 9
- Swagger x-koha-authorization: tools → editcatalogue
- CGI flagsrequired: tools → editcatalogue
- Templates: CAN_user_tools_records_restore →
CAN_user_editcatalogue_records_restore
- C4::Auth::get_cataloguing_page_permissions: remove from tools
  sub-perms list (editcatalogue '*' already covers it)
- Tests: module_bit 13 → 9

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #182 from Nick Clemens (kidclamp)  ---
Created attachment 196327
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196327&action=edit
Bug 17387: (follow-up) address review feedback

- Fix permission description to explicitly mention bibliographic records
  and items (not just 'records')
- Fix date filter to use correct DB column per table: deletedbiblio uses
  'timestamp', deleteditems uses 'deleted_on'
- Remove leftover CAN_user_editcatalogue_edit_catalogue condition from
  the Batch editing section in cat-menu.inc; a user with only
  edit_catalogue would see an empty section heading
- Wrap biblio and item restore operations in DB transactions so that a
  failed store cannot leave a record inserted without being removed from
  the deleted table (or vice-versa)
- Catch Koha::Exceptions::Object::DuplicateID in the item restore
  controller and return a human-readable 409 instead of a generic 500
- When 'Restore bibliographic record' is clicked in the deleted-bib
  warning modal, fetch the biblio and open the full restore modal with
  the originally clicked item pre-selected, rather than restoring
  immediately without item selection

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #181 from Nick Clemens (kidclamp)  ---
Created attachment 196326
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196326&action=edit
Bug 17387: (follow-up) restore tests should account for new library groups
checks

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #180 from Nick Clemens (kidclamp)  ---
Created attachment 196325
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196325&action=edit
Bug 17387: (follow-up) take library groups in to account for permissions check

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #179 from Nick Clemens (kidclamp)  ---
Created attachment 196324
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196324&action=edit
Bug 17387: add logging for biblio/item restore

This adds RESTORE action for biblios and items to the action log

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #178 from Nick Clemens (kidclamp)  ---
Created attachment 196323
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196323&action=edit
Bug 17387: add restore records permission as child of cataloguing perms

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #177 from Nick Clemens (kidclamp)  ---
Created attachment 196322
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196322&action=edit
Bug 17387: add links for restore item/biblio to cataloguing

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #176 from Nick Clemens (kidclamp)  ---
Created attachment 196321
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196321&action=edit
Bug 17387: add sidebar date filtering for item/biblio restore

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #175 from Nick Clemens (kidclamp)  ---
Created attachment 196319
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196319&action=edit
Bug 17387: add modal for restoring biblios with item selection

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #173 from Nick Clemens (kidclamp)  ---
Created attachment 196317
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196317&action=edit
Bug 17387: add modal warning for items with deleted biblios

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #171 from Nick Clemens (kidclamp)  ---
Created attachment 196315
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196315&action=edit
Bug 17387: add pagination headers and support comma-delimited Accept headers

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #174 from Nick Clemens (kidclamp)  ---
Created attachment 196318
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196318&action=edit
Bug 17387: add items embed to deleted biblios API

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #172 from Nick Clemens (kidclamp)  ---
Created attachment 196316
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196316&action=edit
Bug 17387: add biblio embed to deleteditems return

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #170 from Nick Clemens (kidclamp)  ---
Created attachment 196314
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196314&action=edit
Bug 17387: add restore records page

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #169 from Nick Clemens (kidclamp)  ---
Created attachment 196313
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196313&action=edit
Bug 17387: item cannot be restored if associated biblio does not exist

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #168 from Nick Clemens (kidclamp)  ---
Created attachment 196312
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196312&action=edit
Bug 17387: reindex biblio/item on restore

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #167 from Nick Clemens (kidclamp)  ---
Created attachment 196311
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196311&action=edit
Bug 17387: add restore item/biblio tests

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #166 from Nick Clemens (kidclamp)  ---
Created attachment 196310
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196310&action=edit
Bug 17387: update swagger for deleted biblios/items restore

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #165 from Nick Clemens (kidclamp)  ---
Created attachment 196309
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196309&action=edit
Bug 17387: add deleted biblios restore api

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #164 from Nick Clemens (kidclamp)  ---
Created attachment 196308
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196308&action=edit
Bug 17387: add deleted items restore api

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #163 from Nick Clemens (kidclamp)  ---
Created attachment 196307
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196307&action=edit
Bug 17387: add restore functionality to Old::Biblio/Item

TEST PLAN: Item/Biblio Undelete Feature

  SETUP:
  - Apply patches and update database
  - Give test user "Restore deleted records" permission under Cataloging
permissions
  - Delete at least one bibliographic record with items attached
  - Delete at least one standalone item

  TESTING:

  Navigate to Cataloging:
  - Go to Cataloging home page
  - Click "Restore deleted records" link (should be visible with
permission)

  Test Restore Records Page:
  - Verify two tables appear: "Deleted bibliographic records" and
"Deleted items"
  - Verify deleted records appear in tables with biblio ID, title,
barcode, deleted date

  Test Date Filtering:
  - In left sidebar, enter date range in "Deleted from" and "Deleted to"
fields
  - Click "Apply" button - tables should filter by date range
  - Click "Clear" button - filter should reset

  Test Item Restore:
  - Find a deleted item in the items table (with existing biblio)
  - Click "Restore" button in Actions column
  - Verify success message appears and item disappears from table
  - Search catalog for the restored item - confirm it's back

  Test Biblio Warning Modal:
  - Find a deleted item whose biblio is also deleted
  - Click "Restore" button on the item
  - Modal appears warning "bibliographic record is deleted"
  - Click "Restore biblio" - biblio restores, modal closes
  - Click "Restore" on the item again - item now restores successfully
  - Verify both records are back in catalog

  Test Biblio with Items Restore:
  - Find deleted biblio with multiple deleted items
  - Click "Restore" button for the biblio
  - Modal shows checkboxes for each deleted item
  - Select some items (not all), click "Restore with selected items"
  - Verify biblio and selected items restore
  - Unselected items remain in deleted items table

  Permission Testing:
  - Remove "Restore deleted records" permission from user
  - Verify "Restore deleted records" link no longer appears in
Cataloging home

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Nick Clemens (kidclamp)  changed:

   What|Removed |Added

 Attachment #196212|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Nick Clemens (kidclamp)  changed:

   What|Removed |Added

 Attachment #196155|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Nick Clemens (kidclamp)  changed:

   What|Removed |Added

 Attachment #196154|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Nick Clemens (kidclamp)  changed:

   What|Removed |Added

 Attachment #194248|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Nick Clemens (kidclamp)  changed:

   What|Removed |Added

 Attachment #194247|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Nick Clemens (kidclamp)  changed:

   What|Removed |Added

 Attachment #194246|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Nick Clemens (kidclamp)  changed:

   What|Removed |Added

 Attachment #194245|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Nick Clemens (kidclamp)  changed:

   What|Removed |Added

 Attachment #194244|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Nick Clemens (kidclamp)  changed:

   What|Removed |Added

 Attachment #194243|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Nick Clemens (kidclamp)  changed:

   What|Removed |Added

 Attachment #194242|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Nick Clemens (kidclamp)  changed:

   What|Removed |Added

 Attachment #194241|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Nick Clemens (kidclamp)  changed:

   What|Removed |Added

 Attachment #194240|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Nick Clemens (kidclamp)  changed:

   What|Removed |Added

 Attachment #194237|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Nick Clemens (kidclamp)  changed:

   What|Removed |Added

 Attachment #194239|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Nick Clemens (kidclamp)  changed:

   What|Removed |Added

 Attachment #194238|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Nick Clemens (kidclamp)  changed:

   What|Removed |Added

 Attachment #194236|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Nick Clemens (kidclamp)  changed:

   What|Removed |Added

 Attachment #194235|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Nick Clemens (kidclamp)  changed:

   What|Removed |Added

 Attachment #194234|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Nick Clemens (kidclamp)  changed:

   What|Removed |Added

 Attachment #194233|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Nick Clemens (kidclamp)  changed:

   What|Removed |Added

 Attachment #194232|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Nick Clemens (kidclamp)  changed:

   What|Removed |Added

 Attachment #194229|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Nick Clemens (kidclamp)  changed:

   What|Removed |Added

 Attachment #194230|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Nick Clemens (kidclamp)  changed:

   What|Removed |Added

 Status|Signed Off  |Passed QA

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #162 from Jacob O'Mara  ---
Created attachment 196212
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196212&action=edit
Bug 17387: (follow-up) move js to dedicated file as per coding guidelines

Also amend _ to __ for translatable strings

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-25 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #161 from Jacob O'Mara  ---
Created attachment 196155
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196155&action=edit
Bug 17387: (follow-up) make deleted_on column searchable

Patch from commit 7d3dad3

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-25 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #160 from Jacob O'Mara  ---
Created attachment 196154
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196154&action=edit
Bug 17387: (follow-up) fix embed items on get deleted biblio

Add x-koha-embed parameter to GET /deleted/biblios/{biblio_id} and use
$c->objects->to_api() to properly handle embedding items.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-25 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Jacob O'Mara  changed:

   What|Removed |Added

 Status|Failed QA   |Signed Off

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-20 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #159 from [email protected]  ---
SLO County Public Libraries are also interested in this feature.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-20 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Katrin Fischer  changed:

   What|Removed |Added

   See Also||https://bugs.koha-community
   ||.org/bugzilla3/show_bug.cgi
   ||?id=42039

--- Comment #158 from Katrin Fischer  ---
I just noticed Bug 42039 - Properly set LDR/5 for deleted bibliographic records

Not sure if this has been taken into account yet, but we'd probably want to
remove the d flag on undeleting the record.

Setting as see also.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-14 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #157 from Katrin Fischer  ---
(In reply to Brian Pichman from comment #155)
> Hi All -- just aanother thought that may be an easier process 
> 
> can Koha implement a soft delete model. When a record is deleted, it would
> simply be flagged as deleted rather than removed from the database. A staff
> interface (or plugin) could then allow administrators to search for and
> restore these flagged records if needed?

Just clearning up a detail: even now the record is not removed from the
database, it's moved to another table. So in a way we do have a soft delete
model.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-13 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #156 from Andrew Fuerste-Henry  ---
(In reply to Brian Pichman from comment #155)
> Hi All -- just aanother thought that may be an easier process 
> 
> can Koha implement a soft delete model. When a record is deleted, it would
> simply be flagged as deleted rather than removed from the database. A staff
> interface (or plugin) could then allow administrators to search for and
> restore these flagged records if needed?

That's more or less what was proposed in Bug 20271 - "Merge deleted biblio,
biblioitems, biblio_metadata, and items tables"

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-13 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Brian Pichman  changed:

   What|Removed |Added

 CC||brian.pichman@bywatersoluti
   ||ons.com

--- Comment #155 from Brian Pichman  ---
Hi All -- just aanother thought that may be an easier process 

can Koha implement a soft delete model. When a record is deleted, it would
simply be flagged as deleted rather than removed from the database. A staff
interface (or plugin) could then allow administrators to search for and restore
these flagged records if needed?

I suppose the other side is making sure Koha doesn't query / search for items
with the deleted flag/time stamp.

Not sure which lift is easier to perform but at least in my experience in the
PHP/MySQL world its not painful.  

We would also want to set up a cron (back end maintenance ) to purge those
records after X days (say 5 days) just to not have bloated tables. 

Other impacts: 
I'm not positive how Elastic/Zebra pulls from records but I assume it too can
be told to ignore a deleted flag?

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-06 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Nick Clemens (kidclamp)  changed:

   What|Removed |Added

 Status|Signed Off  |Failed QA

--- Comment #154 from Nick Clemens (kidclamp)  ---
The 'Restore bibliographic record' button when trying to restore a deleted item
on a deleted biblio does not work, I get:
Error loading bibliographic record 277

The get for biblios requires an Accept header - I tried clearing that, but it
also cannot embed items - I think we need a different call here

The deleted on column does not search for me at all - if I type 2026 in the
search I get no records, I tried with "03/06/2026" and "2026-03-06" and got no
results

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-02 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Martin Renvoize (ashimema)  changed:

   What|Removed |Added

   Keywords|release-notes-needed|

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #153 from Martin Renvoize (ashimema) 
 ---
Restored the lost signoff lines, added my own signoff line as I've now also
reviewed this.. added the sponsored by lines.

I've also added a couple of follow-ups to deal with Nicks QA comments.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #152 from Martin Renvoize (ashimema) 
 ---
Created attachment 194248
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194248&action=edit
Bug 17387: (follow-up) move records_restore under editcatalogue permission

The restore functionality is a cataloguing operation and should live
under the editcatalogue permission module (bit 9) rather than tools
(bit 13), consistent with where it appears in the UI.

Update all references:
- userpermissions.sql and atomicupdate: module_bit 13 → 9
- Swagger x-koha-authorization: tools → editcatalogue
- CGI flagsrequired: tools → editcatalogue
- Templates: CAN_user_tools_records_restore →
CAN_user_editcatalogue_records_restore
- C4::Auth::get_cataloguing_page_permissions: remove from tools
  sub-perms list (editcatalogue '*' already covers it)
- Tests: module_bit 13 → 9

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #151 from Martin Renvoize (ashimema) 
 ---
Created attachment 194247
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194247&action=edit
Bug 17387: (follow-up) address review feedback

- Fix permission description to explicitly mention bibliographic records
  and items (not just 'records')
- Fix date filter to use correct DB column per table: deletedbiblio uses
  'timestamp', deleteditems uses 'deleted_on'
- Remove leftover CAN_user_editcatalogue_edit_catalogue condition from
  the Batch editing section in cat-menu.inc; a user with only
  edit_catalogue would see an empty section heading
- Wrap biblio and item restore operations in DB transactions so that a
  failed store cannot leave a record inserted without being removed from
  the deleted table (or vice-versa)
- Catch Koha::Exceptions::Object::DuplicateID in the item restore
  controller and return a human-readable 409 instead of a generic 500
- When 'Restore bibliographic record' is clicked in the deleted-bib
  warning modal, fetch the biblio and open the full restore modal with
  the originally clicked item pre-selected, rather than restoring
  immediately without item selection

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #150 from Martin Renvoize (ashimema) 
 ---
Created attachment 194246
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194246&action=edit
Bug 17387: (follow-up) restore tests should account for new library groups
checks

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #149 from Martin Renvoize (ashimema) 
 ---
Created attachment 194245
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194245&action=edit
Bug 17387: (follow-up) take library groups in to account for permissions check

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #148 from Martin Renvoize (ashimema) 
 ---
Created attachment 194244
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194244&action=edit
Bug 17387: add logging for biblio/item restore

This adds RESTORE action for biblios and items to the action log

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #147 from Martin Renvoize (ashimema) 
 ---
Created attachment 194243
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194243&action=edit
Bug 17387: add restore records permission as child of cataloguing perms

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #146 from Martin Renvoize (ashimema) 
 ---
Created attachment 194242
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194242&action=edit
Bug 17387: add links for restore item/biblio to cataloguing

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #145 from Martin Renvoize (ashimema) 
 ---
Created attachment 194241
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194241&action=edit
Bug 17387: add sidebar date filtering for item/biblio restore

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #144 from Martin Renvoize (ashimema) 
 ---
Created attachment 194240
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194240&action=edit
Bug 17387: add modal for restoring biblios with item selection

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #143 from Martin Renvoize (ashimema) 
 ---
Created attachment 194239
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194239&action=edit
Bug 17387: add items embed to deleted biblios API

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #142 from Martin Renvoize (ashimema) 
 ---
Created attachment 194238
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194238&action=edit
Bug 17387: add modal warning for items with deleted biblios

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #141 from Martin Renvoize (ashimema) 
 ---
Created attachment 194237
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194237&action=edit
Bug 17387: add biblio embed to deleteditems return

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #140 from Martin Renvoize (ashimema) 
 ---
Created attachment 194236
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194236&action=edit
Bug 17387: add pagination headers and support comma-delimited Accept headers

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #139 from Martin Renvoize (ashimema) 
 ---
Created attachment 194235
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194235&action=edit
Bug 17387: add restore records page

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #138 from Martin Renvoize (ashimema) 
 ---
Created attachment 194234
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194234&action=edit
Bug 17387: item cannot be restored if associated biblio does not exist

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #137 from Martin Renvoize (ashimema) 
 ---
Created attachment 194233
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194233&action=edit
Bug 17387: reindex biblio/item on restore

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #136 from Martin Renvoize (ashimema) 
 ---
Created attachment 194232
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194232&action=edit
Bug 17387: add restore item/biblio tests

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #135 from Martin Renvoize (ashimema) 
 ---
Created attachment 194231
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194231&action=edit
Bug 17387: update swagger for deleted biblios/items restore

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #134 from Martin Renvoize (ashimema) 
 ---
Created attachment 194230
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194230&action=edit
Bug 17387: add deleted biblios restore api

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #133 from Martin Renvoize (ashimema) 
 ---
Created attachment 194229
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194229&action=edit
Bug 17387: add deleted items restore api

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

--- Comment #132 from Martin Renvoize (ashimema) 
 ---
Created attachment 194228
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194228&action=edit
Bug 17387: add restore functionality to Old::Biblio/Item

TEST PLAN: Item/Biblio Undelete Feature

  SETUP:
  - Apply patches and update database
  - Give test user "Restore deleted records" permission under Cataloging
permissions
  - Delete at least one bibliographic record with items attached
  - Delete at least one standalone item

  TESTING:

  Navigate to Cataloging:
  - Go to Cataloging home page
  - Click "Restore deleted records" link (should be visible with
permission)

  Test Restore Records Page:
  - Verify two tables appear: "Deleted bibliographic records" and
"Deleted items"
  - Verify deleted records appear in tables with biblio ID, title,
barcode, deleted date

  Test Date Filtering:
  - In left sidebar, enter date range in "Deleted from" and "Deleted to"
fields
  - Click "Apply" button - tables should filter by date range
  - Click "Clear" button - filter should reset

  Test Item Restore:
  - Find a deleted item in the items table (with existing biblio)
  - Click "Restore" button in Actions column
  - Verify success message appears and item disappears from table
  - Search catalog for the restored item - confirm it's back

  Test Biblio Warning Modal:
  - Find a deleted item whose biblio is also deleted
  - Click "Restore" button on the item
  - Modal appears warning "bibliographic record is deleted"
  - Click "Restore biblio" - biblio restores, modal closes
  - Click "Restore" on the item again - item now restores successfully
  - Verify both records are back in catalog

  Test Biblio with Items Restore:
  - Find deleted biblio with multiple deleted items
  - Click "Restore" button for the biblio
  - Modal shows checkboxes for each deleted item
  - Select some items (not all), click "Restore with selected items"
  - Verify biblio and selected items restore
  - Unselected items remain in deleted items table

  Permission Testing:
  - Remove "Restore deleted records" permission from user
  - Verify "Restore deleted records" link no longer appears in
Cataloging home

Signed-off-by: Michaela 
Sponsored-by: ByWater Solutions
Signed-off-by: Martin Renvoize 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Martin Renvoize (ashimema)  changed:

   What|Removed |Added

 Attachment #189119|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Martin Renvoize (ashimema)  changed:

   What|Removed |Added

 Attachment #189118|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Martin Renvoize (ashimema)  changed:

   What|Removed |Added

 Attachment #189117|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Martin Renvoize (ashimema)  changed:

   What|Removed |Added

 Attachment #189116|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Martin Renvoize (ashimema)  changed:

   What|Removed |Added

 Attachment #189115|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Martin Renvoize (ashimema)  changed:

   What|Removed |Added

 Attachment #189114|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Martin Renvoize (ashimema)  changed:

   What|Removed |Added

 Attachment #189113|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 17387] Add an undelete feature for items/biblios

2026-03-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17387

Martin Renvoize (ashimema)  changed:

   What|Removed |Added

 Attachment #189112|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


  1   2   3   >