1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Error when using filters when reverting templates

Discussion in 'Resolved Bug Reports' started by Arty, Mar 25, 2015.

  1. Arty

    Arty Well-Known Member

    XenForo tries to revert all customized templates instead of only selected templates when template name filter is used and box to select all templates is checked.

    Screenshot below.

    How to reproduce:
    1. Install any style with multiple customized templates
    2. In admin panel in styles section select "Customized Components", select your style.
    3. Write something in filter to show only few templates ("author" on screenshot below)
    4. Check box to select all items
    5. Click "Revert Selected Items" button.

    After doing all those steps you'll get overlay asking if you want to revert all templates. It will show total number of customized templates instead of only selected templates. That is not a typo - after clicking button to confirm action XF will revert all customized templates.

  2. Mike

    Mike XenForo Developer Staff Member

    Hidden checkboxes on this page will now be disabled, so that prevents the issue but does also maintain the checkbox status (such as if you make a typo).

Share This Page