Bug 39719 - "Export" option still visable when ExportCircHistory set to 'Don't Show'
Summary: "Export" option still visable when ExportCircHistory set to 'Don't Show'
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: 24.05
Hardware: All All
: P5 - low trivial
Assignee: Laura Escamilla
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-23 22:18 UTC by Eric Swenson
Modified: 2025-10-11 14:21 UTC (History)
5 users (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
The little loading wheel (104.28 KB, video/mp4)
2025-04-23 22:18 UTC, Eric Swenson
Details
Bug 39719: Added check for ExportCircHistory (2.22 KB, patch)
2025-09-25 21:54 UTC, Laura Escamilla
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Swenson 2025-04-23 22:18:36 UTC
Created attachment 181399 [details]
The little loading wheel

System preference ExportCircHistory - when I have that set to Don't Show, the menu item for Export still appears in the Checkouts tab of the patron account. I can even click on Export and choose and option, but then it there is a little loading wheel animation but it never goes anywhere. 

It seems that the "Don't Show" isn't doing what it was perhaps designed to do.
Comment 1 mteal 2025-07-17 12:02:55 UTC
This is an issue for us as well. Even in the configure option, you cannot hide the Export column. So worse than just the column showing when it shouldn't, the Export option doesn't work anymore.
Comment 2 Laura Escamilla 2025-09-25 21:54:18 UTC
Created attachment 186949 [details] [review]
Bug 39719: Added check for ExportCircHistory

1. Apply the patch and restart_all
2. Go to Administration → System preferences -> search for ExportCircHistory. Set it to Don't Show
3. View a patron's current checkouts tab. The Export option should not appear.
4. Set ExportCircHistory to 'Show'. The Export option should reappear.
5. Confirm that the Export button remains visible, no matter the option for ExportCircHistory in other locations such as the holdings table.
6. Sign off and have an amazing day! :D
Comment 3 Mathieu Saby 2025-10-11 14:21:06 UTC
I am not sure this syspref is intended to control the "standard" export feature available for every Koha table.

ExportCircHistory was made to remove this line under the table : "Export checkouts using format: MARC / CSV with items  Export items bundle contents  Don't export fields: "

Note that "ExportCircHistory" is a wrong name for this syspref, as indicated by Owen Leonard on this bug: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40623

I believe this abilty to export the checkout in MARC format (it seems weird) was added to suit the needs of some french libraries.