Verified Commit 46e0b834 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Fix paid status sorting pizzas

parent d8509d2e
......@@ -2,8 +2,8 @@ $(function() {
var csrfToken = $('#pizzas-orders').data('csrf');
$('thead th.paid-title, thead th.collected-title').data('sortBy', function (th, td, tablesort) {
return $(td).find('.btn').val();
$('thead th.paid-title').data('sortBy', function (th, td, tablesort) {
return $(td).find('.btn').data('paid');
$('thead th.numeric-title').data('sortBy', function (th, td, tablesort) {
Supports Markdown
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