Ignore:
Timestamp:
Feb 23, 2021, 8:23:26 AM (11 months ago)
Author:
Nicklas Nordborg
Message:

References #2237: Implement extension mechanism for query filtering

This should now work on all list pages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/views/devices/index.jsp

    r7816 r7914  
    188188        null : User.getById(dc, sc.getLoggedInUserId());
    189189    final ItemQuery<UserDevice> query = UserDevice.getQuery(user);
    190     cc.configureQuery(dc, query, true);
     190    JspContext jspContext = ExtensionsControl.createContext(dc, pageContext, GuiContext.list(itemType), null);
     191    cc.configureQuery(dc, query, jspContext, true);
    191192    cc.setQuery(query);
    192     JspContext jspContext = ExtensionsControl.createContext(dc, pageContext, GuiContext.list(itemType), null);
    193193    ExtensionsInvoker<ListColumnAction<UserDevice,?>> listInvoker = ListColumnUtil.useExtensions(jspContext);
    194194    listInvoker.render(new ListColumnExportRenderer<UserDevice>(cc));
     
    210210        null : User.getById(dc, sc.getLoggedInUserId());
    211211    final ItemQuery<UserDevice> query = UserDevice.getQuery(user);
     212    JspContext jspContext = ExtensionsControl.createContext(dc, pageContext, GuiContext.list(itemType), null);
    212213    cc.configureQuery(dc, query, false);
    213214    dc.close();
Note: See TracChangeset for help on using the changeset viewer.