Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-27864

tag_get_tags() is inaccurately named

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.3
    • Fix Version/s: None
    • Component/s: Tags
    • Labels:
    • Database:
      Any
    • Affected Branches:
      MOODLE_20_STABLE

      Description

      tag_get_tags is actually returning tag instances from the tag_instance table rather than that tag table. It should be renamed tag_get_tag_instances() then, if necessary, another function could be added that actually returns tags.

      Also, the function tag_get_correlated() needs to be checked. Most likely it be returning the same columns as tag_get_tags() NOT tag_get_tag_instances().

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                andyjdavis Andrew Davis
                Participants:
                Component watchers:
                Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: