Skip to content

Commit

Permalink
fix taxon search
Browse files Browse the repository at this point in the history
  • Loading branch information
biodiv committed Jan 13, 2023
1 parent 1e730d7 commit 9af4207
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion localcosmos_server/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def api_filter_endpoints_hook(endpoints):

def get_taxon_search_url(app, content=None):

if settings.LOCALCOSMOS_PRIVATE == False and content and content.__class__.__name__ == 'TemplateContent':
if settings.LOCALCOSMOS_PRIVATE == False: # and content and content.__class__.__name__ == 'TemplateContent':
taxon_search_url = '/app-kit/searchtaxon/'
else:
taxon_search_url = reverse('search_app_taxon', kwargs={'app_uid':app.uid})
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

setup(
name='localcosmos_server',
version='0.12.7',
version='0.12.8',
description='LocalCosmos Private Server. Run your own server for localcosmos.org apps.',
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 9af4207

Please sign in to comment.