#183

Solved

View Library filter string doesn't work.

Reported by Adrian on OCTGN · 11/01/2010 00:57:20

Assigned to:
jods
Priority:
Normal
Status:
Solved
Category:
None
Version:
0.7.*
Issue type:
Bug

1) New Game, Load a deck.
2) Right click Library, Look At → All Cards
3) In the GroupWindow there is a Search cards field – enter some text here.

Note: the order of the library becomes sorted, but it does not apply the card filter.

I found this playing the MTG variant Dragon Highlander format (100 card highlander deck), so searching for cards is sometimes time-consuming. A working filter would be awesome.

I took a brief look at the code and I suspect the problem might be related to the following code:

GroupWindow.Xaml.cs sets the filter string by assigning a value to cardsList.FilterCards. However looking at the code for CardListControl.xaml.cs FilterCards.set – it appears to assign the member _filterCards to the value, and then call View.Refresh() – however the _filterCards variable doesn’t appear to be used anywhere, so I don’t think the Refresh() call is actually updating the list control properly. I could be wrong with this, I didn’t do enough investigation to be sure.

Attachments

No attachment has been uploaded, yet.


Loading comments...