Task, Role - Field Access functionality not working [message #616] |
Fri, 09 February 2007 05:19 |
stephenboey
Messages: 54 Registered: January 2007
|
Member |
|
|
Tried to List, Add fields by clicking those buttons under Task(Proc) and Role. At first, it seemed like this functionality is not working.
Issue # 1
I checked on READONLY role in List Role, would be good to have a search functionality fo a specific Task. Reason being users will need to navigate the page arrow buttons. Imagine if there were 671 objects. At first I thought it was a bug... Its just the user friendliness.
Issue # 2
Would be good to have a search functionality in "Maintain Field Access via Task" for seaching ROles. Not unusual to have a lot of roles.
Issue # 3
Here is a bug:
1. I did a search for %Role%
2. Checked on mnu_role(list)
3. Click on List Fields
4. It says Nothing retrieved from database table MNU_TASK
Then I removed my search parameter from Search form and navigate to that Task using the page navigator. That works.
[Updated on: Fri, 09 February 2007 06:14] Report message to a moderator
|
|
|
|
|
Re: Task, Role - Field Access functionality not working [message #619 is a reply to message #618] |
Fri, 09 February 2007 09:00 |
AJM
Messages: 2363 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
Here is a fix for isues #1 and #2:
In file std.multi3.inc change line 249 from
// get data from the middle table
$middle_data = $dbmiddle->getData($where);
to
if (isset($search)) {
$dbmiddle->setSqlSearch($search);
} // if
// get data from the middle table
$middle_data = $dbmiddle->getData($where);
Then you can create navigation buttons as follows:
- to task 'mnu_role_taskfield(multi)a' you can add 'mnu_role(search)'
- to task 'mnu_role_taskfield(multi)b' you can add 'mnu_task(search)'
Let me know if this works OK.
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|
|