Closed krytthew closed 5 years ago
Please do share more than just one line; share both models and a controller (or at least the method in which you are using the sortable()
scope).
The best way is to share example repository which people can download and try out.
hello I have an error when performing the ordering with a relation, it does not work
$this->belongsTo('App\Http\Models\BiHdrModel','V_ORDER_NO','V_ORDER_NO');
select count(*) as aggregate from
ord_header
inner joinbi_hdr
onord_header
.V_ORDER_NO
=bi_hdr
.id