diff --git a/app/javascript/controllers/document_controller.js b/app/javascript/controllers/document_controller.js index 4f819d7..ecda5ae 100644 --- a/app/javascript/controllers/document_controller.js +++ b/app/javascript/controllers/document_controller.js @@ -8,7 +8,7 @@ export default class extends ApplicationController { search () { this.stimulate("DocumentReflex#render_case_lists_search_results", - { q: this.inputTarget.value, citation_finder: this.element.dataset["citation_finder"], page: 1 }, + { q: this.inputTarget.value, citation_finder: this.citation_finderTarget.value, page: 1 }, this.element.dataset["doctrineId"], this.element.dataset["currentDocumentId"]) }