mirror of
https://github.com/OpenBankProject/API-Manager.git
synced 2026-02-06 20:26:46 +00:00
Fixed filter for app type and its display on consumers detail page
This commit is contained in:
parent
0cb6170536
commit
060dddbbfe
@ -14,7 +14,7 @@
|
||||
|
||||
<div id="consumers-detail-app-type">
|
||||
<strong>App Type</strong><br />
|
||||
<span>{{ consumer.appType }}</span>
|
||||
<span>{{ consumer.app_type }}</span>
|
||||
</div>
|
||||
|
||||
<div id="consumers-detail-developer-email">
|
||||
|
||||
@ -21,7 +21,7 @@ class FilterAppType(BaseFilter):
|
||||
filter_type = 'app_type'
|
||||
|
||||
def _apply(self, data, filter_value):
|
||||
filtered = [x for x in data if x['appType'] == filter_value]
|
||||
filtered = [x for x in data if x['app_type'] == filter_value]
|
||||
return filtered
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user