mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-02 22:11:48 +01:00
fix #827. You can now select todos with tags using OR and AND
/todos/tag/tagA,tagB?and=tagC will select all todos with (tagA or tagB) AND tagC
This commit is contained in:
parent
2accbd0a32
commit
58d8bc56d1
9 changed files with 255 additions and 152 deletions
|
|
@ -391,10 +391,10 @@ en:
|
|||
all_completed: All completed actions
|
||||
feed_title_in_context: in context '%{context}'
|
||||
older_than_days: ""
|
||||
completed_tagged_page_title: TRACKS::Completed tasks with tag %{tag_name}
|
||||
completed_tagged_page_title: TRACKS::Completed tasks with tag '%{tag_name}'
|
||||
edit: Edit
|
||||
pending: Pending
|
||||
completed_actions_with: Completed actions with the tag %{tag_name}
|
||||
completed_actions_with: Completed actions with the tag '%{tag_name}'
|
||||
deleted_success: The action was deleted succesfully.
|
||||
completed_tasks_title: TRACKS::Completed tasks
|
||||
feed_title_in_project: in project '%{project}'
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ ActionController::Routing::Routes.draw do |map|
|
|||
# UPDATE: added support for mobile view. All tags ending on .m will be
|
||||
# routed to mobile view of tags.
|
||||
todos.mobile_tag 'todos/tag/:name.m', :action => "tag", :format => 'm'
|
||||
todos.mobile_tag 'todos/tag/:name.txt', :action => "tag", :format => 'txt'
|
||||
todos.tag 'todos/tag/:name', :action => "tag", :name => /.*/
|
||||
todos.done_tag 'todos/done/tag/:name', :action => "done_tag"
|
||||
todos.all_done_tag 'todos/all_done/tag/:name', :action => "all_done_tag"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue