Skip to content
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

Add Sort in "Repository" menu #178

Open
opt9 opened this issue Apr 6, 2018 · 5 comments
Open

Add Sort in "Repository" menu #178

opt9 opened this issue Apr 6, 2018 · 5 comments

Comments

@opt9
Copy link
Contributor

opt9 commented Apr 6, 2018

Sometimes, I want to sort "File Count" field with desc, asc.

_002

@opt9 opt9 changed the title Add Sort in Repository menu Add Sort in "Repository" menu Apr 6, 2018
@boyter
Copy link
Owner

boyter commented Apr 6, 2018

I wonder how hard this would be to implement considering that the interface is paged.

Are you using this on some dashboard interface somewhere?

@opt9
Copy link
Contributor Author

opt9 commented Apr 6, 2018

Are you using this on some dashboard interface somewhere?

No. :-(

FYI,
My internal repository list : 30 pages, about 600 repos.
I don't know how much this change would impact the performance decrease.
IMHO, it would be small within 1,000 repos, and the most users/customers' repos will not exceed 1,000 repos.

I wonder how hard this would be to implement considering that the interface is paged.

IMHO, If you override getPagedRepo to get variable for 'order by' from repository list form, it would not be hard. (Yup, there is a possibility of sql injection, but you are already using prepared statement and variable binding, so that will not be the issue)

Thanks.

@boyter
Copy link
Owner

boyter commented Apr 6, 2018

Just curious. There may be something I could have done in that case.

Are you just trying to keep an eye on which repositories are taking long to process? 600 repo's is quite a lot actually. How large is the index for that?

@opt9
Copy link
Contributor Author

opt9 commented Apr 6, 2018

600 repo's is quite a lot actually. How large is the index for that?

about 15GB

@boyter
Copy link
Owner

boyter commented May 3, 2018

Via @sschuberth in #183

There currently seems to be no way to filter / search the list of repositories at repository/list/. I tried using a literal rn:name search, but that did not actually list anything, which is probably by design, as such a search is supposed to limit searches in repositories to the matching repository names, and not only list the repository names themselves. In a way this feature request might be related to #178 in the sense that the repository list should be more dynamic and less static.

@boyter boyter added this to TODO in Release 1.3.14 Jul 3, 2018
@boyter boyter moved this from TODO to In Progress in Release 1.3.14 Aug 1, 2018
@boyter boyter moved this from In Progress to TODO in Release 1.3.14 Sep 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

2 participants