Details
-
Bug
-
Resolution: Fixed
-
Medium
-
None
-
2011.6, 4.4.0, 4.5.0
-
None
-
Operating System: Windows XP and 7
Browser: MSIE 7, 8 and 9 tested
eZ Publish 4.5.0 with ezflow and ezwebin
Description
Microsoft Internet Explorer seems to be the only browser recognizing the <link rel="alternate" media="print" …/> tag. (see #007677)
When searching, the query is given as GET parameters. These GET parameters are not written into the href of that specific <link>-tag.
So when printing the search results in MSIE, you'll get a printout of the search form without any results (because there was no query given). All other browsers ignore that tag, so they print what you see.
Example:
A search for "test" opens the following URL in my browser:
http://example.org/content/search?SearchText=test&SearchButton=Search
The link tag reads that:
<link rel="Alternate" href="/layout/set/print/content/search" media="print" title="Printable version" />
Thus, MSIE prints the plain http://example.org/layout/set/print/content/search page.
Steps to reproduce
1. Open an eZ installation in some MSIE
2. Do a search using /content/search
3. With your results showing, open File -> Print Preview
4. Try to find your results