grouper-users - [grouper-users] RE: Grouper UI Filtering Issue
Subject: Grouper Users - Open Discussion List
List archive
- From: Ryan Rumbaugh <>
- To: "" <>
- Subject: [grouper-users] RE: Grouper UI Filtering Issue
- Date: Tue, 20 Nov 2018 16:39:50 +0000
- Accept-language: en-US
- Ironport-phdr: 9a23:lOCq7hPPNjNurObGQKkl6mtUPXoX/o7sNwtQ0KIMzox0IvXzrarrMEGX3/hxlliBBdydt6oUzbKO+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxlLiTanfb9+MAi9oBnMuMURnYZsMLs6xAHTontPdeRWxGdoKkyWkh3h+Mq+/4Nt/jpJtf45+MFOTav1f6IjTbxFFzsmKHw65NfqtRbYUwSC4GYXX3gMnRpJBwjF6wz6Xov0vyDnuOdxxDWWMMvrRr0yRD+s7bpkSAXwhSkHKTA37X3XhMJzgqJVoh2hpgBwzIHPbYGPKPZyYrnQcc8GSWZfWMtaSixPApm7b4sKF+cPIeZZoJP7p1ATsRW+GAysC/j1xT9ViX/23bAx3uM7EQHcwQwgGskBv27JrNX6NKcfSua1w7fTwjXZdfxWwjT955LSfh8/vP6MQKt9fMzMwkcsDwPIlkicpIPmMj+Py+gAsmaW4/B9We+ghWMrsRx9rzety8s0l4XFmIYYxkrA+Ch32oo4K921RFR1bNOlCJdQuT+VOohqTs4nRmxlvDs1xqMEtJO+YCcHx5oqyAXaZvGDcIWE/w7sWeOfITp4mH1qZLSyjAuo/0e60O3zTMy03U5KriVbltnMsWgA1xnc68SbUfRx51ut1SqR2w3c6+xJLlw4mbTBJ5452r4wlp0TsV/fHiDohUr6lrOZdkIh+uSw6uTnZKvppoOEOoNphQzzMb4iltG+DOk2KAQCQmeW9Oqm2LH+8kD0Qq1GjvgsnanYtJDaK94bpqm8AwJNyoYj8Qi/Dyy+3dgEnnQKLUxJdw+dgIf1NVHCPf/1AO+lg1S2jTdrwuvJMaf8ApXCLnjOi7Hhcqhm5E5G0gUz1tNf6IhOBr4fPf3zR1f9tMbEAR8hLwy03+HnBc1y1oMEXmKPH7eZP73IsVOR++IvOPeDZJUOuDvmL/gl5uXujWMimVMDZ6Wp3J0XaGymEfR8JUWWf2bsjskbHWgUowU+Ub+itFrXGzFJYGuqUrh5+yo2EpmODIHfS5qrjaDbmiq3A9ceMm9cDU2UHG2tap6JQewkaSSOL9VnnyBeE7WtVtly+wupsVrA2rNhZtDJ/ycRqJ3jnIxv/fDWnxgv+jxcCcmXyWiWTGgyk28VEWxllJtjqFBwnw/QmZNzhOZVQIRe
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Hi all, I wanted to follow up on my last email in case others run into this issue. We were able to fix this issue after making adjustments to our subject.properties file. The diff is below for reference.
I *think* the secret sauce was defining a subjectAttributeCol and subjectAttributeName that matches the field/column we specified in sortAttribute and searchAttribute. @@ -62,29 +62,39 @@ subjectApi.source.jdbc.param.subjectIdCol.value = NUID # the column name to get the name from subjectApi.source.jdbc.param.nameCol.value = DISPLAYNAME +subjectApi.source.jdbc.param.descriptionCol.value = DESCRIPTION -#subjectApi.source.jdbc.param.descriptionCol.value = DISPLAYNAME +subjectApi.source.jdbc.param.emailAttributeName.value = email # search col where general searches take place, lower case -subjectApi.source.jdbc.param.lowerSearchCol.value = SEARCHFIELD +subjectApi.source.jdbc.param.lowerSearchCol.value = DESCRIPTION_LOWER # optional col if you want the search results sorted in the API (note, UI might override) -subjectApi.source.jdbc.param.defaultSortCol.value = DISPLAYNAME +subjectApi.source.jdbc.param.defaultSortCol.value = DESCRIPTION # you can count up from 0 to N of columns to search by identifier (which might also include by id) -#subjectApi.source.jdbc.param.subjectIdentifierCol0.value = +subjectApi.source.jdbc.param.subjectIdentifierCol0.value = NUID # you can count up from 0 to N of columns to search by identifier (which might also include by id) -#subjectApi.source.jdbc.param.subjectIdentifierCol1.value = penn_id +subjectApi.source.jdbc.param.subjectIdentifierCol1.value = DISPLAYNAME # now you can count up from 0 to N of attributes for various cols. The name is how to reference in subject.getAttribute() -subjectApi.source.jdbc.param.subjectAttributeCol0.value = EMAIL +subjectApi.source.jdbc.param.subjectAttributeCol0.value = NUID # you can count up from 0 to N of attributes for various cols. The name is how to reference in subject.getAttribute() -subjectApi.source.jdbc.param.subjectAttributeName0.value = email +subjectApi.source.jdbc.param.subjectAttributeName0.value = nuid -#subjectApi.source.jdbc.param.subjectAttributeCol1.value = SEARCHFIELD -#subjectApi.source.jdbc.param.subjectAttributeName1.value = searchfield +subjectApi.source.jdbc.param.subjectAttributeCol1.value = EMAIL +subjectApi.source.jdbc.param.subjectAttributeName1.value = email + +subjectApi.source.jdbc.param.subjectAttributeCol2.value = DISPLAYNAME +subjectApi.source.jdbc.param.subjectAttributeName2.value = displayname + +subjectApi.source.jdbc.param.subjectAttributeCol3.value = DESCRIPTION +subjectApi.source.jdbc.param.subjectAttributeName3.value = description + +subjectApi.source.jdbc.param.subjectAttributeCol4.value = DESCRIPTION_LOWER +subjectApi.source.jdbc.param.subjectAttributeName4.value = description_lower # now you can count up from 0 to N of attributes for various cols. The name is how to reference in subject.getAttribute() #subjectApi.source.jdbc.param.subjectAttributeCol1.value = description_lower @@ -93,12 +103,12 @@ subjectApi.source.jdbc.param.subjectAttributeName0.value = email # the 1st sort attribute for lists on screen that are derived from member table (e.g. search for member in group) # you can have up to 5 sort attributes -subjectApi.source.jdbc.param.sortAttribute0.value = DISPLAYNAME +subjectApi.source.jdbc.param.sortAttribute0.value = description # the 1st search attribute for lists on screen that are derived from member table (e.g. search for member in group) # you can have up to 5 search attributes -subjectApi.source.jdbc.param.searchAttribute0.value = DISPLAYNAME -subjectApi.source.jdbc.param.searchAttribute1.value = EMAIL +subjectApi.source.jdbc.param.searchAttribute0.value = description +#subjectApi.source.jdbc.param.searchAttribute1.value = EMAIL From: <>
On Behalf Of Ryan Rumbaugh We’re having an issue filtering and sorting members of a group and I’m hoping others can provide some tips on how to solve. It’s pretty simple to reproduce for us. Just add anyone directly to a group and attempt to search--no results will be found. Interestingly, when someone is added to a group and the mouse is hovered over the entry, no popup is displayed
either and sorting is not an option either. Is there a subject.properties setting we missed or do we need to modify some defaults in grouper-ui.properties? We’re running tier/grouper:2.3.0-a109-u47-w12-p21 if that helps. Example with screenshots below: A test group with myself as the only member, added directly. When filtering using my first name, nothing appears. -- Ryan Rumbaugh Identity Management Specialist Cybersecurity & Identity |ITS| 501 123.1, 68588-0203 University of Nebraska |nebraska.edu Kearney|Lincoln|Omaha 402-472-0831 (o) |
- [grouper-users] Grouper UI Filtering Issue, Ryan Rumbaugh, 11/09/2018
- [grouper-users] RE: Grouper UI Filtering Issue, Ryan Rumbaugh, 11/20/2018
Archive powered by MHonArc 2.6.19.