filter enquiries with status type
includes test case

by Kim To, 02/09/2014
test to get table name and column name

by Kim To 06/09/2014
Merge remote-tracking branch 'origin/Kim'

By Yang
Sep 6 2014