Skip to content

Commit

Permalink
Merge pull request #35 from imubit/remove-excel-results-limitation
Browse files Browse the repository at this point in the history
results should be unlimited when loading from excel list
  • Loading branch information
cloud-rocket authored Sep 4, 2024
2 parents 205c0e7 + 9a8197a commit 44c27cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/qt_data_extractor/mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ def on_tree_selection_changed(self):
)

@QtCore.Slot()
def on_refresh_tags_tree(self, filter):
def on_refresh_tags_tree(self, filter, max_results=MAX_TAGS_TO_LOAD):
try:
conn_name = self._current_connection["name"]
display_attributes = OrderedDict(
Expand All @@ -621,7 +621,7 @@ def on_refresh_tags_tree(self, filter):
conn_name,
filter=filter,
include_attributes=list(display_attributes.keys()),
max_results=MAX_TAGS_TO_LOAD,
max_results=max_results,
)

# Update top level rows
Expand Down Expand Up @@ -687,7 +687,7 @@ def on_tags_file_select(self):
df = df.dropna()
tags_to_find = df.iloc[:, 0].tolist()

self.on_refresh_tags_tree(filter=tags_to_find)
self.on_refresh_tags_tree(filter=tags_to_find, max_results=0)
self._w.comboLeftTagFilter.clear()

except Exception as e:
Expand Down

0 comments on commit 44c27cb

Please sign in to comment.