10 lines
356 B
Python
10 lines
356 B
Python
from .ColumnResponseView import ColumnResponseView
|
|
|
|
|
|
class SearchGroupResponseView(ColumnResponseView):
|
|
def __init__(self, model, controller, app):
|
|
super().__init__(model, controller, app)
|
|
matches = self.model.resp_json.copy()
|
|
rows = [(str(i), resp) for i, resp in enumerate(matches) if resp != '']
|
|
self.set_pairs(rows)
|