-
Notifications
You must be signed in to change notification settings - Fork 49
Enhance name lookup #508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Anyone can write their own cgi/users/lookup/X to use as an autocomplete for a field in the EPrint workflow. Commonly people write ones that lookup against the user table to ensure you get a consistent creators (or editors. etc.) ID. I will see if I can find any example that you could use as a guide to build your own. As long as you have a basic understanding of Perl you should not find it too difficult to adapt an existing lookup script. |
In fact there is something that I think is it close to what you might need: Remember that you will need to edit your cfg/workflows/eprint/default.xml to specify the input_lookup_url for to point at this URL for this CGI script. |
Thanks for your answers, David. What we're trying to achieve is to also take editors or any other contributors in account, not just creators, thus creating a big pool of persons that are looked up, regardless whether they were creators, editors, translators or whatever. I guess the fun really starts in the SQL statement when trying to join the eprint_creators_* and eprint_editors_* tables. I was just wondering if someone has already done some work on that, so that we don't have to reinvent the wheel and if we do invent it, if this would be of interest to others. |
Please see the linked PR as a suggestion for such a lookup. |
Uh oh!
There was an error while loading. Please reload this page.
Hi everyone,
as a feature, it would be nice, if cgi/users/lookup/name would look through all kinds of contributors and not just the creators. This way, someone who has already published as an author, will also be found by the lookup when they contributed as an editor, reviewer, translator etc. - and vice versa.
Maybe there could even be an archive level configuration option to set the fields that should be used in that lookup.
Best regards
Dennis
The text was updated successfully, but these errors were encountered: