EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #09216


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] staff search


Hi Yuri,

I think you have found a bug.  The issue is that the search checks that the metadata_visibility for any items that might otherwise be found is set to 'show'.  An item that is an old version of another item will have its metadata_visibility set to 'hide'.  For staff search metadata_visibility should probably be ignored.  I have created a GitHub issue for this:

https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints3.4%2Fissues%2F299&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C9e9c546b340d4dc6409608db14b6fd6d%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638126548378918147%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=a7gL2H%2Biizx33Au3GCbsbZdEW%2BIjgGy9UqcQv%2B9NNsk%3D&reserved=0

What are other people's opinions?  In an ideal world, I guess the staff search should have a checkbox to say whether to show hidden items?

Regards

David Newman


On 22/02/2023 9:08 am, Yuri via Eprints-tech wrote:
CAUTION: This e-mail originated outside the University of Southampton.

Hi!

   the admin/staff search is useful to edit items, and the only tool for
editors to find a particular eprint by id. When searching for eprintid,
it doesn't work if the eprint is a predecessor. Actually, the search
finds only the last version of the eprints and none if I put an older
version eprintid in the eprintid field. Is there a way to change this
behaviour so our staff can search and edit also older versions?


*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C9e9c546b340d4dc6409608db14b6fd6d%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638126548378918147%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=JcLgeidDbKa%2BRVFziII5zQkUN9afvbUefhtxMDS2wzY%3D&reserved=0
*** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C9e9c546b340d4dc6409608db14b6fd6d%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638126548378918147%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=DaqUC0qMA9FrKSf7ZN%2Bqzx4kfEAGFC%2FRU4xaG2NoaoY%3D&reserved=0