Skip to content

Composer Search Field Simple > Advanced #200

Open

Description

@musicus

When switching from the simple to advanced search, the searched term needs to transfer to the advanced column (this may or may not be possible).

Activity

  1. agpar commented on Mar 1, 2016

    @agpar
    Contributor

    I'm not sure this is possible... We could guess which field the user was trying to search on, but it will not be a very good guess.

  2. musicus commented on Mar 1, 2016

    @musicus
    ContributorAuthor

    The composers are easy, you can query whether the composer exists and fill the composer into the composer field. The title would be everything else that is not in the composer field, but I agree it would be a guess at best.

  3. agpar commented on Mar 1, 2016

    @agpar
    Contributor

    The auto-suggest on the general search field just pulls results from all the suggestion dictionaries and does not know where they came from. The JS itself does not have any flag or notion that one of its suggestions has been input.

    Without re factoring extensively, the best we could do would be to run like 12 ajax queries when you change tabs (1 to each suggestion dictionary) and see if an exact match is returned by any... And that would only work when there's an exact match, and no conflicting matches.

  4. musicus commented on Mar 1, 2016

    @musicus
    ContributorAuthor

    It is a difficult task indeed. Continue thinking about it. It may not be possible, as I previously had stated, thus to come up with a solution would be quite impressive.

  5. assigned and unassigned on Sep 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions