SWC-1704 only

when implementing, perhaps set to page one when the query input widget sql changes.