mirror of
https://github.com/altlinux/admc.git
synced 2025-03-24 06:50:13 +03:00
fix "advanced find" test
change filter from searching for all objects to searching for only the \ test user searching for all took too long on current domain with many objects this came up due to 68a155df1f0985bf823e7672a0155764f388064a before due to the results being limited at 1000, the search finished \ quickly after search stopped at 1000 objects, now it doesn't
This commit is contained in:
parent
dfa7a65214
commit
79e67d39af
@ -374,7 +374,8 @@ void ADMCTestObjectMenu::object_menu_find_advanced()
|
||||
QTest::keyClick(QApplication::focusWidget(), Qt::Key_Right);
|
||||
tab();
|
||||
|
||||
QTest::keyClicks(QApplication::focusWidget(), QString("(objectClass=*)"));
|
||||
const QString filter = filter_CONDITION(Condition_Equals, ATTRIBUTE_DN, user_dn);
|
||||
QTest::keyClicks(QApplication::focusWidget(), filter);
|
||||
|
||||
auto children = find_dialog->findChildren<QPushButton*>();
|
||||
QPushButton* find_button = nullptr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user