cleaned up search in list

search box keeps focus on search
fixed multiple refreshes happening
fixed undefined sort/direction in get url