PetJournal Enhanced

137 - Reset Filters not working

Where on the petjournal does the error occure? The pet list (left side), the petcard (upper right) , pet loadout(lower left) , Pet count (upper left)
Pet List

What steps will reproduce the problem?
1. Set a filter manually.
2. Click Reset Filters

What is the expected output? What do you see instead?
Filter is not reset.

What version of the product are you using?
Latest (Downloaded Jul 22)

Does the Issue happen if PetJournal Enhanced is the only addon you have enabled?
Yes

User When Change
guildmaster Aug 08, 2016 at 11:54 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 1 comment
  • Avatar of Phanx Phanx Aug 17, 2016 at 09:28 UTC - 1 like

    Related error message:

    1x PetJournalEnhanced\modules\Sorting.lua:176: Usage: SetAllPetTypesChecked(checked)
    [C]:: in function 'SetAllPetTypesChecked'
    PetJournalEnhanced\modules\Sorting.lua:176: in function 'Reset'
    PetJournalEnhanced\modules\DropdownMenu.lua:153: in function 'func'
    FrameXML\UIDropDownMenu.lua:760: in function 'UIDropDownMenuButton_OnClick'
    [string "*:OnClick"]:1: in function <[string "*:OnClick"]:1>
    

    And the solution is to pass `true` on lines 176 and 177:

    	C_PetJournal.SetAllPetTypesChecked(true)
    	C_PetJournal.SetAllPetSourcesChecked(true)
    

    TO un-check everything you need to pass `false` explicitly.

    Last edited Aug 17, 2016 by Phanx
  • 1 comment

Facts

Reported
Aug 08, 2016
Status
New - Issue has not had initial review yet.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees