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

Delete behavior #15

Closed
tiagocampo opened this issue Apr 25, 2014 · 0 comments
Closed

Delete behavior #15

tiagocampo opened this issue Apr 25, 2014 · 0 comments
Assignees
Labels
Milestone

Comments

@tiagocampo
Copy link
Collaborator

If one delete a category the correct behavior should be update it to Not Classified.
If one delete a sentence the correct behavior should be uptate it to NULL.

@tiagocampo tiagocampo added the bug label Apr 25, 2014
@tiagocampo tiagocampo self-assigned this Apr 25, 2014
tiagocampo added a commit that referenced this issue Apr 25, 2014
   listCategories now return a list of tuples
      -> if you pass nothing it wil return a list of tuples
             [(sec, subsec, func), ...]
      -> if you pass section it will return a list of tuples
             [(subsec, func), ...] related to section
      -> if you pass section and subsection it will return
            a list of tuples [(func, ), ...] related to
            section and subsection

   listSentences now return a list of tuples
      -> if you pass nothing it will return a list of tuples of all
             [(sec, subsec, func, sent, ref), ...]
      -> if you pass section it will return a list of tuples of all
             [(sec, subsec, func, sent, ref), ...] where sec=section
      -> if you pass section and subsection it will return a list of
              tuples of all [(sec, subsec, func, sent, ref), ...] where
              sec=section and subsec=subsection
      -> if you pass section, subsection and function it will return
              a list of tuples of all [(sec, subsec, func, sent, ref), ...]
              where sec=section and subsec=subsection and func=function

    remove function now updates entries properly, i.e., dont remove. Instead
     it will update the entry to Not Classified or NULL

    listAll function added. It returns a list of tuples of all
     [(sec, subsec, func, phrase, ref), ...]

    open, close, save, saveAs is functional.
@tiagocampo tiagocampo added this to the version_1.0 milestone Apr 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant