-
Notifications
You must be signed in to change notification settings - Fork 39
Sort search results by top component #579
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
carldea
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
| * @return a string | ||
| */ | ||
| private String getDescription(int nid) { | ||
| return navigator.getViewCalculator().getFullyQualifiedDescriptionTextWithFallbackOrNid(nid); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@carldea Wondering if this should be
return treeView.getNavigator().getViewCalculator().getDescriptionTextOrNid(nid);
instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good question. might be better as long as it's not null.
I have approved this PR, not sure if you have permission to merge. But I can merge it some time tomorrow. :-)
carldea
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Thank you @jperedadnr !
as always great work!
and improve performance while scrolling and highlighting search results.