#30 add getFields method to admin