Avoid too-strict controller checks when fleshing for cstore, reporter-store
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mon, 9 Apr 2012 15:27:53 +0000 (11:27 -0400)
committerThomas Berezansky <tsbere@mvlc.org>
Mon, 9 Apr 2012 18:11:50 +0000 (14:11 -0400)
commit7fae54ad0523f26c5202cffd5d06be8039e500cf
treefb1fbeda1c644d3c70cdc018e0ddefb5e3120007
parent669f24eb9001f99a4f28432fcad5dd16d99a5f85
Avoid too-strict controller checks when fleshing for cstore, reporter-store

Move controller-verificiation from the beginning of recursive
doFieldmapperSearch() to nearer the end, right before we recurse, so we
only check the child class's controller if we're pcrud.  If we're not
pcrud, code that calls doFieldmapperSearch() from the outside will have
already done appropriate testing of the controller.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Open-ILS/src/c-apps/oils_sql.c