diff --git a/LICENSE b/LICENSE index 42173ac..8bccf42 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright © 2014, Regents of the University of North Texas +Copyright © 2017, Regents of the University of North Texas All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/README.md b/README.md index aefedfc..30dd921 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ Contributors: - [Damon Kelley](https://github.com/damonkelley) - [Lauren Ko](https://github.com/ldko) - [Mark Phillips](https://github.com/vphill) +- [Gio Gottardi](https://github.com/somexpert) ## Developing diff --git a/docs/conf.py b/docs/conf.py index d7ca50d..7191c48 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -48,7 +48,7 @@ # General information about the project. project = u'Django Name' -copyright = u'2015, University of North Texas Libraries' +copyright = u'2017, University of North Texas Libraries' author = u'University of North Texas Libraries' # The version info for the project you're documenting, acts as replacement for diff --git a/docs/index.rst b/docs/index.rst index 7b3b7ed..785f2ed 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -30,9 +30,11 @@ Acknowledgements - `Damon Kelley`_ - `Lauren Ko`_ - `Mark Phillips`_ +- `Gio Gottardi`_ .. _`Joey Liechty`: http://github.com/yeahdef .. _`Damon Kelley`: http://github.com/damonkelley .. _`Lauren Ko`: http://github.com/ldko .. _`Mark Phillips`: http://github.com/vphill +.. _`Gio Gottardi`: http://github.com/somexpert diff --git a/name/__init__.py b/name/__init__.py index 493492f..5d1cef2 100644 --- a/name/__init__.py +++ b/name/__init__.py @@ -1,2 +1,2 @@ __title__ = 'Django Name' -__version__ = '1.1.0' +__version__ = '1.1.1' diff --git a/name/templates/name/_navbar.html b/name/templates/name/_navbar.html index 7dc79fc..8c2286a 100644 --- a/name/templates/name/_navbar.html +++ b/name/templates/name/_navbar.html @@ -30,12 +30,13 @@ diff --git a/name/templates/name/search.html b/name/templates/name/search.html index 5d7c239..cee2b1c 100644 --- a/name/templates/name/search.html +++ b/name/templates/name/search.html @@ -17,6 +17,7 @@

Search {{ name_app_title }}

{% endif %} {% endfor %} + diff --git a/name/utils.py b/name/utils.py index cdda092..bc7322c 100644 --- a/name/utils.py +++ b/name/utils.py @@ -62,9 +62,12 @@ def resolve_type(q_type): q_type = q_type.split(',') - # Iterate through the Name Types and create a list of Name IDs - # using the corresponding strings values in q_type - return [k for k, v in Name.NAME_TYPE_CHOICES if v in q_type] + if "Any Type" in q_type: + return [k for k, v in Name.NAME_TYPE_CHOICES] + else: + # Iterate through the Name Types and create a list of Name IDs + # using the corresponding strings values in q_type + return [k for k, v in Name.NAME_TYPE_CHOICES if v in q_type] # TODO: Look at reducing the number of queries.