Commit b761d9e8 by Arpit Jain

fixed issue on pagination

parent ff68cd98
......@@ -173,7 +173,11 @@
url: "{{route('searchlocator')}}",
data: {"_token": "{{ csrf_token() }}",page:page,locality:locality},
success: function (datanew) {
$( "#searchlocaterid" ).html( datanew );
if(datanew.status == 'success') {
$('#searchlocaterid').html(datanew.data);
} else {
$('#searchlocaterid').html(datanew.data);
}
$(".locality").val(locality);
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment