![]() |
|
|
|
|
Change By:
|
johnwoodlock
(12/Sep/12 5:10 AM)
|
|
Description:
|
In the current client search (which I know
currently
has
temporarily
2 options for demo purposes) can we add the ability to select an office so that the search only applies to clients underneath that
selected
office's hierarchy?
Mifos X already 'data scopes' so that you only retrieve
client
data 'under' the office/branch you are attached to.
This means this functionality is irrelevant to people who are attached to a 'branch' as they will only be searching in their branch. In that case (where the
new
office "dropdown" has only 1 entry
-
)
don't bother showing the dropdown).
So, its really only for people in head offices (or area offices) that want to limit their search to an office "lower down" the hierarchy than their default.
The dropdown would default to the "top one" and would affect both the text box search
result
and the
drop down
client dropdown
we currently have
when another option is selected
.
For now,
Here's how I think it would be implemented
(
unless you want to
but if there are better ways that is fine).
The new office dropdown should
look
at
like all our
other
ways of fixing this
office dropdowns (showing the decorated office name
)
-- still writing this
. However, it needs to have as its Option value the hierarchy of the office rather than the id. This selected hierarchy can be used in the sqlSearch parameter to refine the query e.g. for the text box search the link would be /clients?sqlSearch=o.hierarchy like '1.2.%' and whatever else it was before
i.e. just need to add a percentage to the hierarchy value
or if you don't like that you can invent another client listing query parameter in the java app e.g. ?underHierarchy=1.2.
the office hierarchy field can be added to officeLookup.java.
Hope thats okay but if not clear I'll talk it thru.
|
|
Summary:
|
Limit client search to
clients
under a selected office
hierarchy
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues