Skip to content

Commit

Permalink
Fix for EaArX publication facet
Browse files Browse the repository at this point in the history
  • Loading branch information
ehenneken committed Nov 21, 2023
1 parent 9aac74d commit 4ad31d7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions aip/classic/solr_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -756,6 +756,9 @@ def bibstem_mapper(bibcode):
short_stem = u'arXiv'
vol_field = u'....'
long_stem = short_stem + vol_field
elif short_stem == 'EaArX':
vol_field = u'....'
long_stem = short_stem + vol_field
# 5th character could be volume digit, in whih case reset it
elif short_stem[0:4] in PUB_VOLUME_SPILLS_LEFT and short_stem[4].isdigit():
short_stem = short_stem[0:4] + u'.'
Expand Down

0 comments on commit 4ad31d7

Please sign in to comment.