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

Support reversing tags #120

Open
wants to merge 1 commit into
base: develop
from

Conversation

Projects
None yet
2 participants
@leo60228
Copy link

commented Jun 11, 2019

You can now use /tag:test/rev instead of /tag:test/ to reverse the order from the default for that collection.


  • I have signed the CLA
  • I didn't get a confirmation email
@mrvdb

This comment has been minimized.

Copy link
Collaborator

commented Jun 11, 2019

Nice idea!
Could this also be implemented similar to something like this:

/tag:test or /tag:+test : show collection having tag test
/tag:-test : show collection not having tag test

@leo60228

This comment has been minimized.

Copy link
Author

commented Jun 11, 2019

@mrvdb This is the first time I've ever touched Go; I'm not really sure how to implement something like that. What's your usecase for this?

@mrvdb

This comment has been minimized.

Copy link
Collaborator

commented Jun 11, 2019

My apologies, I see I've mis-assumed what this was about. I thought it was about filtering instead of ordering.

For the filtering I had something like this in mind for a while but I have no specific usecase other than the need to filter a collection. Using the + and - has a number of advantages in my view:

  • it's easy to extend (like +this+that-somethingelse)
  • not english language dependent

Having the sort order reversed is something else indeed. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.