Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Add paging for collections #199

Open
nodesocket opened this issue Jan 15, 2015 · 6 comments
Open

Add paging for collections #199

nodesocket opened this issue Jan 15, 2015 · 6 comments
Labels

Comments

@nodesocket
Copy link

We have over two thousand collections in one database, and loading all the collections nearly causes the browser to lock-up.

@bobthecow
Copy link
Owner

Ha! Fair enough. I'll see what I can do :)

@bobthecow
Copy link
Owner

There's probably a similar problem with lots of databases, as well.

@nodesocket
Copy link
Author

Would be an awesome bonus to be able to search for collections as well.

@bobthecow
Copy link
Owner

Agreed. I've generally had a pretty manageable number of databases and collections, so I've never had to scratch that particular itch. But I can definitely see where it'd be useful.

@nodesocket
Copy link
Author

@bobthecow hey Justin. Any progress on paging for collections?

@bobthecow
Copy link
Owner

I haven't had a chance to work on this yet. As a workaround, if you build a version of genghis that doesn't pull collection stats you'll probably mitigate most of the issues (other than searchability, of course).

For PHP, comment out this line:

https://github.com/bobthecow/genghis/blob/master/src/php/Genghis/Models/Collection.php#L259

For Ruby, comment out this line:

https://github.com/bobthecow/genghis/blob/master/src/rb/genghis/models/collection.rb#L114

… everything should still work, other than the collection stats popup, but it should also be a lot faster with that many collections.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants