fixed problem with null ids
added search
removed pagination from orders.