need to use context rather than filter
This commit is contained in:
parent
0d56d35646
commit
211d8c7f19
@ -82,7 +82,7 @@
|
||||
{
|
||||
<br /><small>@SharedLocalizer["Search.Source"]:</small> <strong>@(new Uri(context.PackageUrl).Host)</strong>
|
||||
}
|
||||
@if (_price == "free")
|
||||
@if (context.Price == null)
|
||||
{
|
||||
<br /><small>@SharedLocalizer["Search.Downloads"]:</small> <strong>@(String.Format("{0:n0}", context.Downloads))</strong>
|
||||
}
|
||||
|
@ -82,7 +82,7 @@
|
||||
{
|
||||
<br /><small>@SharedLocalizer["Search.Source"]:</small> <strong>@(new Uri(context.PackageUrl).Host)</strong>
|
||||
}
|
||||
@if (_price == "free")
|
||||
@if (context.Price == null)
|
||||
{
|
||||
<br /><small>@SharedLocalizer["Search.Downloads"]:</small> <strong>@(String.Format("{0:n0}", context.Downloads))</strong>
|
||||
}
|
||||
|
Reference in New Issue
Block a user