[Sakai Jira] (SAKIII-5418) "Filter By" Faceted Search Widget Not Rendering on Sakai2, Content, Groups and People Search Pages -- Regression??

Christian Vuerings (JIRA) sakai-ui-dev-tracking at collab.sakaiproject.org
Fri Apr 6 12:08:26 PDT 2012


     [ https://jira.sakaiproject.org/browse/SAKIII-5418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on SAKIII-5418 started by Christian Vuerings.

> "Filter By" Faceted Search Widget Not Rendering on Sakai2, Content, Groups and People Search Pages -- Regression??
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: SAKIII-5418
>                 URL: https://jira.sakaiproject.org/browse/SAKIII-5418
>             Project: Sakai OAE UI Dev
>          Issue Type: Bug
>          Components: Design
>    Affects Versions: 1.2.0
>         Environment: qa20-us.sakaiproject.org
>            Reporter: John King
>            Assignee: Christian Vuerings
>             Fix For: 1.2.0
>
>         Attachments: OAE version 1.1 People Search.jpg, OAE version 1.2 People Search Page.jpg
>
>
> While working on Berkeley's customizations of the searchsakai2.html and searchsakai2.js, I noticed that the "Filter By" faceted search widget, faceted.html & faceted.js, is not rendering on that page.  On further investigation, found that it is not rendering on the Content, Courses, or People pages either.  This is not a Berkeley only issue as qa-20.sakaiproject.org is showing the same behavior.  I
> It does appear to be a regression from version 1.1 to 1.2 as the widgets are rendering on oae-community.sakaiproject.org which is running version 1.1.  See the screen grabs below.
> I have determined that the widgets are not rendering because the facetConfig data is not being initialized.  The logic that fails to render is, in faceted.js
>         /**
>          * Render the template
>          */
>         var renderTemplateFaceted = function(facetedConfig){
>             if (sakai.data.me.user.anon) {
>               $(facetedContainer,rootel).hide();
>             } else if (facetedConfig) {
>               // Render the faceted.
>               $(facetedContainer,rootel).html(sakai.api.Util.TemplateRenderer(facetedDefaultTemplate, facetedConfig));
>               addBinding();
>             }
>         };
>   I have not determined why the facetedConfig data is not initialized so thought I'd pass this issue on to the experts.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.sakaiproject.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the sakai-ui-dev-tracking mailing list