Filtering radiographic studies by an acquisition protocol that contains a space produces no results

Issue #527 invalid
David Platten created an issue

If you filter radiographic studies by acquisition protocol using a term that contains a space then no results are returned, even if there are acquisitions that match the filter string.

E.g. filtering on "hip" returns lots of results, including some that are "hip lat". Entering "hip lat" returns no results.

The filtering of CT data on acquisition protocol works as expected, even with spaces in the filter term.

Comments (8)

  1. David Platten reporter

    This does not seem to be affecting the testing.openrem.org site or the demo.openrem.org sites: both can be filtered as you would expect.

    I'll check a dev version of my site's install at home tonight to see if filtering works with that.

  2. David Platten reporter

    The acquisition protocols in question contain multiple consecutive spaces. If I include the multiple spaces when filtering then it works.

    I was confused because I don't think that the multiple spaces are shown in the interface.

  3. Ed McDonagh

    Consecutive spaces in html are reduced to one unless they are encoded as   for example. Does that explain the discrepancy?

    Can I suggest this is marked as invalid rather than closed (assuming my interpretation is correct) so I don't try working out why it isn't listed in changes?

    Thanks

  4. Log in to comment