Modify card query system, use filter to get data through ajax.