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 17:39:19 +0000 (13:39 -0400)
commit5dff6311f57bebf391647b3f3d1a67ffe01c5e75
treedf43d41f94b4ff02cd6725b586fcb23289e80106
parent3e4ebdcda4030e4d6e86fe466a7c2845179ab9ef
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