Uploaded image for project: 'Clowder'
  1. Clowder
  2. CATS-860

Advanced search "Show more results" throws error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • Normal
    • Resolution: Fixed
    • None
    • 1.3.5
    • None

    Description

      Uncaught ReferenceError: key is not defined
      at HTMLAnchorElement.<anonymous> (search:513)
      at HTMLAnchorElement.dispatch (jquery-1.10.2.js:5095)
      at HTMLAnchorElement.elemData.handle (jquery-1.10.2.js:4766)

       

      by looking at code, 

      the exception is thrown at this line, since key and value is undefined.

      https://opensource.ncsa.illinois.edu/bitbucket/projects/CATS/repos/clowder/browse/app/views/metadatald/search.scala.html#295

       

      endpoint of clowder dose not take count parameter.

      https://opensource.ncsa.illinois.edu/bitbucket/projects/CATS/repos/clowder/browse/conf/routes?at=refs%2Fheads%2Fmaster#599

       

      the api executes search on elasticsearch use default 0, 60 as search range.

      https://opensource.ncsa.illinois.edu/bitbucket/projects/CATS/repos/clowder/browse/app/services/ElasticsearchPlugin.scala#173

       

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                mburnet2 Maxwell Burnette
                lmarini Luigi Marini
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Tasks