failure to handle the SELECT list properly. Fixed.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13807
dcc99617-32d9-48b4-a31d-
7c20da2025e4
jsonObject* defaultselhash = NULL;
// if there is no select list, build a default select list ...
- if (!selhash) {
+ if (!selhash && !from_function) {
jsonObject* default_list = defaultSelectList( core_class );
if( ! default_list ) {
if (ctx) {
}
// The SELECT clause can be encoded only by a hash
- if( selhash->type != JSON_HASH ) {
+ if( !from_function && selhash->type != JSON_HASH ) {
osrfLogError(
OSRF_LOG_MARK,
"%s: Expected JSON_HASH for SELECT clause; found %s",