Skip to content

Commit

Permalink
documents: Fix subdivisions separator
Browse files Browse the repository at this point in the history
* Changes corporate body subdivisions if repeated to a dot.

Co-Authored-by: Peter Weber <peter.weber@rero.ch>
  • Loading branch information
rerowep and rerowep committed Aug 17, 2021
1 parent 718b6eb commit 0f94bb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rero_ils/modules/documents/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ def create_authorized_access_point(agent):
elif agent.get('type') == ContributionType.ORGANISATION:
subordinate_unit = agent.get('subordinate_unit')
if subordinate_unit:
authorized_access_point += f'''. {', '.join(subordinate_unit)}'''
authorized_access_point += f'''. {'. '.join(subordinate_unit)}'''
conference_data = []
numbering = agent.get('numbering')
if numbering:
Expand Down

0 comments on commit 0f94bb2

Please sign in to comment.