Closed (fixed)
Project:
OpenSearch feed
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
10 Jul 2010 at 18:45 UTC
Updated:
8 Sep 2017 at 10:11 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commentedI am not sure you are referring to the result provided from the module, or from the search module.
You are referring to , which is the relative path used by search.module.
Comment #2
Anonymous (not verified) commentedHi Kiam,
after you add the opensearch provider to firefox, you can search the drupal site using the browser's top right box (in my case).
This box submits to /search/node/Query?page=1 (which is Page 2 in Drupal)
So I think the browser adds this "1". I removed the page={startPage}, so it submits to /search/node/Query, without a "page=1". Seems unecessary.
So change:
to:
It think that is the way to do it. I don't see why the browser-search should set the page=x.
Comment #3
Anonymous (not verified) commentedThat is necessary for the other pages. A search could return more than one page of results; without that parameter, you would always see the first page.
Comment #4
Anonymous (not verified) commentedI got it; if
startPageis used, the search engine will always ask for page #1, which is the second results page for Drupal.I removed the parameter
startPage, even if I could have usedpage={startPage?}, which would have made that parameter optional. I noticed that Firefox doesn't pass such parameter for any of the search engines it currently defines (including Wikipedia, that is added to Firefox through an Opensearch description file returned from wikipedia.org).I changed the code, and committed it. Thanks for your report, and help.