-
Notifications
You must be signed in to change notification settings - Fork 25
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
Enable sorting S3 objects by date #8
Comments
Are you running this in a fork of this repo and you just want the code, or is the request to support sorting in the repo's default UI? |
Thanks @wparad . Either would work. I am current running the fork but any help would be appreciated. Thanks |
You definitely want to leave this alone, the <tr v-for="path in sortedObjects.filter(o => o.type === 'PATH' && o.key.split(store.delimiter).slice(-1)[0])"
:key="path.key"> This looks fine-ish: const sortedObjects = computed(() => store.objects.sort((a, b) => new Date(a.date) - new Date(b.date))); If a.date is a thing, but it isn't. I don't think |
Hi! Tks! |
We think it is something that makes sense. Having a PR that sets up most of the designed functionality goes a long way to having it implemented. Obviously, if there is a driving use case that increases value of the feature, sharing that here, helps us to better prioritize. |
Hi @wparad . How easy is to sort objects by last modified date (or perhaps toggle sorting ascending - descending on column headers click)? I have tried to change
to
and
to
something like that. Vue and JS are not really area of my specialty so I might have done something completely wrong hence it didn't work. Please, let me know if that can be implemented by changing lines above? Thanks
The text was updated successfully, but these errors were encountered: