Skip to content
This repository has been archived by the owner on Jun 17, 2021. It is now read-only.

Commit

Permalink
Fix searchByAllCondition() (search.index)
Browse files Browse the repository at this point in the history
いやアホだろこれは
  • Loading branch information
miyacorata committed Jan 1, 2020
1 parent 84ad6fc commit aeb8a49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/search/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
function searchByAllCondition(){
var url = location.pathname+'?';
if(document.forms.name.name.value) url += 'name=' + document.forms.name.name.value + '&';
if(document.forms.birthplace.birthplace.value) url += 'birthplace=' + document.forms.birthplace.name + '&';
if(document.forms.birthplace.birthplace.value) url += 'birthplace=' + document.forms.birthplace.birthplace.value + '&';
if(document.forms.birthday.month.value !== 'u' || document.forms.birthday.day.value !== 'u')
url += 'month=' + document.forms.birthday.month.value + '&day=' + document.forms.birthday.day.value + '&';
if(document.forms.age.age.value) url += 'age=' + document.forms.age.age.value + '&range=' + document.forms.age.range.value + '&';
Expand Down

0 comments on commit aeb8a49

Please sign in to comment.