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

advanced search with simple menu

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Create a database activity and add two fields - One a simple menu field, and the other a text field.
      2. Make sure to save the template (under Templates tab).
      3. Add a few entries.
      4. Go to the advanced search (under Search) and without selecting anything in the menu field, search for an entry in the text field.
      5. Note that you should get entries back that match the text. Before no entries would be returned until options were selected in the menu fields.
      Show
      Create a database activity and add two fields - One a simple menu field, and the other a text field. Make sure to save the template (under Templates tab). Add a few entries. Go to the advanced search (under Search) and without selecting anything in the menu field, search for an entry in the text field. Note that you should get entries back that match the text. Before no entries would be returned until options were selected in the menu fields.
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE, MOODLE_32_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      wip-MDL-57807-master

      Description

      I have three fields in my database: 1 - Status (dropdown list), 2 - Author (text field) and 3 - Name (text field). When I check the "advanced search" checkbox I can see that initial value for Status is "custom-select" and initial values for Author and Name is empty.
      I want to search all database records with Name="Dik" and any Status and Author values.
      But I always get zero result.
      Is this possible to resolve my problem?

      With best regards,
      Vadim

        Attachments

          Activity

            People

            • Votes:
              5 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                8/May/17