Skip to content

Instantly share code, notes, and snippets.

View hrenki's full-sized avatar

Karlo Hrenovic hrenki

View GitHub Profile
@hrenki
hrenki / EPrints view only by authors that have id
Last active February 9, 2017 13:22
EPrints view only by authors that have id
in cfg.d create file z_FILE_NAME.pl
in that file is definition of an eprint automatic field that is stored with eprint if creators have an ID
that way we can use only those authors/creators that have matching ID
next we have to update database
/usr/share/eprints3/bin/epadmin update ARHCIVE
afther that we have to recommit all eprints so autocomplete field can create those values for stored eprints
/usr/share/eprints3/bin/epadmin recommit ARCHIVE eprint