ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Dynamic Parameter Search Help

November 27, 2012 1:05pm

Subscribe [1]
  • #1 / Nov 27, 2012 1:05pm

    maxbato

    42 posts

    Hello,

    I have a search page using a few dynamic parameter fields to filter my entries. It is working for the most part but I have come across a strange issue on one of the fields.

    I have 38 “Providers” that have a multi-select field where they can be either “Bundled or Unbunled or Both” (I am only using a single drop down for the dyn parameter search). When I choose Unbundled, I get the correct 31 results back. When I choose “Bundled” I get all 38 entries back with 2 of them that are set to only “Unbundled”.

    Here is some of my template code:

    <strong>Record Keeping Services Provided:</strong>
    
       <select name="search:provider_record_keeping">
        <option value="">Select</option>
        <option value="Bundled">Bundled</option>
        <option value="Unbundled">Unbundled</option>
        </select>

    And the entry tag:

    {exp:channel:entries channel="providers" sort="asc" orderby="title" dynamic_parameters="search:provider_record_keeping" limit="100"}

    Is the search being handled as a “Contains” vs “Exact”? If so, is there a way to make it behave as “Exact” since the word “bundled” is in both values?

    Any help is really appreciated here.

    Thanks in advance.

    Max

     

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases