Hi everyone,
we're experiencing an interesting issue with report filters in Oracle Learning Management (or similar).
Problem: When we use filters based on SQL queries, for some specific users the report filters disappear completely, making the report non-functional.
Technical Details: We've identified the critical point in the query that causes the error:
Copy
AND INSTR(',' || xxx.co_attribute1 || ',', ',' || xle_le.legal_entity_identifier || ',') > 0
wlf_learning_items_f xxx
xle_entity_profiles xle_le
Observed Symptoms:
- Filters work correctly for most users
- For specific users, filters disappear from the report
- The query doesn't return errors, but simply doesn't apply the filters
Questions:
- Has anyone else encountered similar behavior?
- Could it be related to NULL values or whitespace in the
co_attribute1 or legal_entity_identifier fields? - Do you have suggestions for better handling of this INSTR function in case of inconsistent data?
Any feedback will be greatly appreciated!
Thank you, Rosita