bit9labs / sd-masonry

GNU Affero General Public License v3.0
11 stars 2 forks source link

Add image ordering #6

Open private-jobe opened 8 months ago

private-jobe commented 8 months ago

Add image ordering

bit9labs commented 8 months ago

I'm not sure when the input changes you wouldn't need to call refresh_images. This does a full dump of the database and scrapes the file system. I view this as a very costly function, and if you're only changing the order of display, you wouldn't want to call that. Welcome to hear your feedback

private-jobe commented 8 months ago

Didn't actually reflect on that. Copied what I thought was appropriate code from similar function. Corrected.