diff --git a/cfg/cfg.d/z_orcid_support.pl b/cfg/cfg.d/z_orcid_support.pl index 619986b..83e2670 100644 --- a/cfg/cfg.d/z_orcid_support.pl +++ b/cfg/cfg.d/z_orcid_support.pl @@ -161,6 +161,19 @@ =head2 Changes }, priority => 50 ); +#---Search Fields---# +# Eprints advanced search +my $orcid_search_fields = { meta_fields => [] }; +foreach my $role (@{$c->{orcid}->{eprint_fields}}) +{ + my $field = $role.'_orcid'; + push @{$orcid_search_fields->{meta_fields}}, $field; +} +push @{$c->{search}->{advanced}->{search_fields}}, $orcid_search_fields; + +# User search +my $user_search_field = { meta_fields => [ "orcid" ] }; +push @{$c->{search}->{user}->{search_fields}}, $user_search_field; #Rendering ORCIDs { diff --git a/lib/lang/de/phrases/orcid_fields.xml b/lib/lang/de/phrases/orcid_fields.xml index 4439aca..81700b4 100644 --- a/lib/lang/de/phrases/orcid_fields.xml +++ b/lib/lang/de/phrases/orcid_fields.xml @@ -19,10 +19,10 @@ ORCID -Ungültiges ORCID-Format. Eine ORCID besteht aus vier, durch einen Bindestrich getrennten Gruppen aus je vier Ziffern, z.B. 0000-0003-1495-7122 +Ungültiges ORCID-Format. Eine ORCID besteht aus vier, durch einen Bindestrich getrennten Gruppen aus je vier Ziffern, z.B. 0000-0003-1495-7122 Ungültige ORCID-Prüfsumme. Sind Sie sicher, dass die ORCID korrekt ist? Fehlerhaftes Format für ORCID - +Geben Sie eine 16-stellige ORCID ein. diff --git a/lib/lang/en/phrases/orcid_fields.xml b/lib/lang/en/phrases/orcid_fields.xml index 796047f..fd68150 100644 --- a/lib/lang/en/phrases/orcid_fields.xml +++ b/lib/lang/en/phrases/orcid_fields.xml @@ -19,10 +19,10 @@ ORCID -Invalid ORCID format. ORCID should be 4 groups of 4 digits separated by hyphens, e.g. 0000-0003-1495-7122 +Invalid ORCID format. ORCID should be 4 groups of 4 digits separated by hyphens, e.g. 0000-0003-1495-7122 Invalid ORCID checksum. Are you sure the ORCID is correct? Incorrect format for ORCID - +Enter a 16-digit ORCID.