Sometimes one is viewing a record in the staff interface, and would like to see when it was imported/overlaid - it would be nice to add a tab to view this information.
Created attachment 159606 [details] [review] Bug 35497: WIP This patch adds a new tab to the record details page called 'Imported records' This tab contains a table linking to the import batches for any imports or overlays of this biblio Some questions: 1 - Do we need a syspref for this? Or should it just be included? 2 - What info is useful? date/time of import? Import settings? A diff view? 3 - Other thoughts?
If not a syspref, a permission ?! Or both! I love this, import date/time, import file (batch id), and a diff view would be great!
It's an interesting idea. The import_* tables are not necessarily permanent, but it looks like cleanup_database.pl doesn't clean them up in the out of the box crontab, so most libraries probably do persist that data... Rather than having it on the detail page, it might make more sense to add it on the sidebar with a label like "Import history". That way, it doesn't actually affect the detail.pl page at all, and people can opt-in to that information. As a result, I don't think we'd need a syspref for it. If people don't want it, they just don't click on it, and then nothing is different. And for people who do want it, they can just choose it from that list of sidebar items which is fairly short at the moment. Just my 2 cents :)