MMBase

Search-filter ignored in search-command with multiple elements in nodepath.

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.7.1
  • Fix Version/s: 2.0.0
  • Component/s: Editwizards
  • Description:
    Hide
    original bugid: #6664
    Take this example:
       <command name="search" nodepath="datatypes,related,data" fields="data.waarde"
          constraints="datatypes.soort='GalerijFormaat'"
          orderby="data.waarde" age="-1">
          <prompt></prompt>
          <search-filter>
             <name>Waarde bevat</name>
             <search-fields>data.waarde</search-fields>
          </search-filter>
       </command>

    The pop-up with the searchresults always shows the same results, ignoring the value the user has entered as searchkey. In effect the searchkey is ignored.
    This problem only occurs when the nodepath in the search-command contains multiple elements, as in the example above.
    Show
    original bugid: #6664 Take this example:    <command name="search" nodepath="datatypes,related,data" fields="data.waarde"       constraints="datatypes.soort='GalerijFormaat'"       orderby="data.waarde" age="-1">       <prompt></prompt>       <search-filter>          <name>Waarde bevat</name>          <search-fields>data.waarde</search-fields>       </search-filter>    </command> The pop-up with the searchresults always shows the same results, ignoring the value the user has entered as searchkey. In effect the searchkey is ignored. This problem only occurs when the nodepath in the search-command contains multiple elements, as in the example above.

Activity

Hide
Rob van Maris added a comment - 2005-02-14 12:27
Search-filter ignored in search-command with multiple elements in nodepath.
Take this example:
   <command name="search" nodepath="datatypes,related,data" fields="data.waarde"
      constraints="datatypes.soort='GalerijFormaat'"
      orderby="data.waarde" age="-1">
      <prompt></prompt>
      <search-filter>
         <name>Waarde bevat</name>
         <search-fields>data.waarde</search-fields>
      </search-filter>
   </command>

The pop-up with the searchresults always shows the same results, ignoring the value the user has entered as searchkey. In effect the searchkey is ignored.
This problem only occurs when the nodepath in the search-command contains multiple elements, as in the example above.
Show
Rob van Maris added a comment - 2005-02-14 12:27 Search-filter ignored in search-command with multiple elements in nodepath. Take this example:    <command name="search" nodepath="datatypes,related,data" fields="data.waarde"       constraints="datatypes.soort='GalerijFormaat'"       orderby="data.waarde" age="-1">       <prompt></prompt>       <search-filter>          <name>Waarde bevat</name>          <search-fields>data.waarde</search-fields>       </search-filter>    </command> The pop-up with the searchresults always shows the same results, ignoring the value the user has entered as searchkey. In effect the searchkey is ignored. This problem only occurs when the nodepath in the search-command contains multiple elements, as in the example above.

People

Dates

  • Created:
    2005-02-14 12:27
    Updated:
    2009-07-31 16:43