Bug report : venue.search

 
  • Bug report : venue.search

    When querying venues with this function, unlimited venues can be returned, with the parameter "page".

    for example,
    [Avvaktar moderation]

    [Avvaktar moderation]


    The query results are:

    <results xmlns:opensearch="[Avvaktar moderation]; xmlns:geo="[Avvaktar moderation]; for="New York">
    <opensearch:Query role="request" searchTerms="New York" startPage="100"/>
    <opensearch:totalResults>4033</opensearch:totalResults>
    <opensearch:startIndex>4950</opensearch:startIndex>
    <opensearch:itemsPerPage>50</opensearch:itemsPerPage>

    You see, the total number is 4033, but the startindex is 4950 !!

    • tburny sa...
    • Forum Moderator
    • 29 aug 2012, 16:56
    Thanks for reporting.
    So the start index is wrong when the number of pages is exceeded, same goes for startPage.

    Combo.fm: Combine your favourite radio stations! | My Blog | scala-lastfmapi | Cache2k - A high performance Java in-memory cache
    P.S.: Do not click here
    throw new PokemonException(); //Gotta catch 'em all
    My forum post reflects my personal opinion :)
    • ben-xo sa...
    • Medarbetare
    • 12 sep 2012, 15:54
    Hi there,

    This is expected behaviour. All pages from 0 to infinity exist - most of them are empty.

    Check out my latest Drum'n'Bass mixes at http://www.mixcloud.com/benxo (it scrobbles)
Anonyma användare kan inte skriva inlägg. Vänligen logga in eller skapa ett konto för att göra inlägg i forumen.