Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-778 META: Migrate to Ionic
  3. MOBILE-1051

Make mm-format-text work with filters

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Libraries
    • Labels:
    • Testing Instructions:
      Hide
      1. Install the app on a device and check that the watch attribute without filters is not broken: delete a site (not the last one) and check that the list is correctly updated.
      2. In sites list template (sites.html), add a filter to a watched variable. E.g.:

        <h2><mm-format-text clean="true" watch="true">{{site.fullname | uppercase}}</mm-format-text></h2>
        

      3. Delete a site (not the last one) and check that the list is updated right.
      Show
      Install the app on a device and check that the watch attribute without filters is not broken: delete a site (not the last one) and check that the list is correctly updated. In sites list template (sites.html), add a filter to a watched variable. E.g.: <h2><mm-format-text clean="true" watch="true">{{site.fullname | uppercase}}</mm-format-text></h2> Delete a site (not the last one) and check that the list is updated right.
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE
    • Pull Master Branch:

      Description

      If you're using watch=true, and use {{ something | filter }}, the value cannot be watched.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dpalou Dani Palou
              Reporter:
              fred Frédéric Massart
              Peer reviewer:
              Frédéric Massart Frédéric Massart
              Integrator:
              Juan Leyva Juan Leyva
              Tester:
              Juan Leyva Juan Leyva
              Participants:
              Component watchers:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                31/Jul/15