From 4ad31d776245e3fd88bdf1ccd920739055bd51ba Mon Sep 17 00:00:00 2001 From: Edwin Henneken Date: Tue, 21 Nov 2023 16:09:00 -0500 Subject: [PATCH] Fix for EaArX publication facet --- aip/classic/solr_adapter.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/aip/classic/solr_adapter.py b/aip/classic/solr_adapter.py index cd7838c..d9ee073 100644 --- a/aip/classic/solr_adapter.py +++ b/aip/classic/solr_adapter.py @@ -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'.'