diff --git a/peachjam/js/components/FindDocuments/index.vue b/peachjam/js/components/FindDocuments/index.vue index e6304625f..0c2e269df 100644 --- a/peachjam/js/components/FindDocuments/index.vue +++ b/peachjam/js/components/FindDocuments/index.vue @@ -213,7 +213,6 @@ {{ $t('Jurisdiction') }} {{ $t('Locality') }} {{ $t('Matter type') }} - {{ $t('Document nature') }} {{ $t('Language') }} {{ $t('Year') }} @@ -281,7 +280,7 @@ export default { const facets = [ { title: this.$t('Document type'), - name: 'doc_type', + name: 'nature', type: 'checkboxes', value: [], options: [] @@ -350,13 +349,6 @@ export default { value: [], options: [] }, - { - title: this.$t('Document nature'), - name: 'nature', - type: 'checkboxes', - value: [], - options: [] - }, { title: this.$t('Language'), name: 'language', diff --git a/peachjam_search/documents.py b/peachjam_search/documents.py index a9323c22c..1700f5291 100644 --- a/peachjam_search/documents.py +++ b/peachjam_search/documents.py @@ -213,9 +213,6 @@ def get_instances_from_related(self, related_instance): ] return CoreDocument.objects.filter(taxonomies__topic__in=topics).distinct() - def prepare_doc_type(self, instance): - return instance.get_doc_type_display() - def prepare_case_number(self, instance): if hasattr(instance, "case_numbers"): return [c.get_case_number_string() for c in instance.case_numbers.all()]