How do you filter search results?

Hi,
We have a search button on our website that does a sitewide search, and I was wondering how you get about making it so that the search results display in date order (most recent items first). At the moment it seems to display things at random, with items as old as 2005 being listed first. Can anyone help please?
Many thanks,
Tracey

I'll share my newly found work around.
I use this.  I put a huge number in the resultsPerPage argument and then process the results with a JS sorting plugin like this: http://datatables.net/index
{module_searchresults,_blank,100000}
That plugin it particular is better than the built in functionality as it has better pagination and can sort columns if you display it in a table.
I have to warn you, this is not something someone can do with out good working knowledge of HTML & JS/Jquery.

Similar Messages

  • How do you filter an email search (ie: Subject or From) in iOS 7?

    How do you filter an email search (ie: Subject or From) in iOS 7?

    Hello dh1316
    The way iOS 7 searches email has changed. I have made an excerpt of the new way search works.
    iPhone User Guide
    http://manuals.info.apple.com/MANUALS/1000/MA1565/en_US/iphone_user_guide.pdf
    Search for a message. Scroll to or tap the top of the messages list to reveal the search field. You can search the current mailbox, or all mailboxes at once. Searching looks at the address fields, the subject, and the message body.
    Search by timeframe. Scroll to or tap the top of the messages list to reveal the search field, then type something like “February meeting” to find all messages from February with word “meeting.”
    Search by message state. To find all flagged, unread messages from people in your VIP list, type “flag unread vip.” You can also search for other message attributes, such as “attachment.”
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • How to customize the search results window

    hi,
    in my search results page, i need to add a link/button for every document searched. on click of this link/ button i need to capture the document/file url and  insert it into  a splist.
    is it possible to customize  the search results window? 
    below is the snapshot: i need to add the link/button Add link to DB on each and every document retrieved by the crawler.
     help is highly appreciated ! 

    hi
    thnx for the reply. i am using the default search box in my sub site. and i am able to get the search results with the  help of default search  results.
    but i dont know how to replace this search results web part with a  content search web part, such that i can insert html link or button  or jquery.
    Can you pls  elaborate , how can i replace the existing search results web part with the content search WP such that ,  the other display detals - document link, description, etc are intact-.

  • How do you filter content by groups?

    I used to spent a great deal of time on Apple Discussions, but having been away for a couple of years I see there have been major changes. As a result, I'm finding it hard to manage tasks that used to be easy, & I would appreciate some help with these questions so that I can go back to helping others…
    1) How do you filter "Content" by groups? I used to be able to select the group I was particularly interested in (usually Logic Pro). I see that if a recent question has been asked in a group, I can click on the name of that group — but if no questions have been asked in the last few hours, this would mean page after page of scrolling…
    2) Someone answered another question I asked yesterday. I wanted to thank them & to mark the question as answered. But all I could see was the "Helpful" link (which unfortunately I clicked on before I realised it wasn't the same as the old "Answered" link). I can't see how to mark the reply as THE ANSWER, I can't see how to mark the question as answered, & I can't see any way of replying to the answer. The only text field available is to reply to myself, which seems daft — & yes, I AM logged in.
    (I can't quite believe how hard it is to find out this stuff. I recall a certain meeting where the object of the exercise was to make the interface more accessible, not more opaque…)

    A lot of the collective consciousness:
    How to improve your experience with Apple Support Communities ( ASC )
    Easiest way to all User Tips on Using ASC may be to add " /content " to the URL then click the User Tips Category TAB
    *some User Tips have some of the same stuff but also some unique
    SITEMAP | Apple Support Communities has some gems as well

  • How to modify  the search results of the GUI for subscribing to calendars

    How to modify the search results of the GUI for subscribing to calendars
    Note:
    <OL>
    <LI>The following information applies only to iPlanet Calendar Server 5.0
    Patch 3.
    <LI>All of the cases for which the XSLT changes will work have not been
    verified.
    <LI>The following is only an example of an XSLT customization.
    </OL>
    The example below shows a sample customization of the
    search_for_calendars
    dialog. This customization will result in the Display Name being included as
    part of the search results in the GUI, which would normally show just the
    calendar ID. It will render the returned calendars in the following format:
    <P>
    Display Name - <I>description</I>
    <P>
    Normally, the format would be as follows:
    <P>
    Calendar-ID - <I>description</I>
    <P>
    </A>
    The example consists of the following two files:
    <P>
    <OL>
    <LI>search_for_calendars_common.xsl
    (the entire XSLT file)
    <P>
    <LI>diffctx.txt
    (the context sensitive diff patch file,
    which basically shows only the changes that need to be made)
    </OL>
    <P>
    <HR>
    </A><B>
    search_for_calendars_common.xsl</B>
    <?xml version="1.0" ?>
    <!DOCTYPE xsl:stylesheet (View Source for full doctype...)>
    - <!--
    set the output properties
    <xsl:stylesheet
    xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"
    result-ns="http://www.w3.org/TR/REC-html40">
    -->
    - <xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0">
    - <!-- set the output properties
    -->
    <xsl:output method="html" encoding="ISO-8859-1" />
    <xsl:include href="data/common.xsl" />
    <xsl:include href="data/i18n.xsl" />
    <xsl:include href="data/date_format.xsl" />
    <xsl:include href="data/dialog_tabs.xsl" />
    - <xsl:template match="/">
    <xsl:apply-templates select="calendar" />
    </xsl:template>
    - <xsl:template match="calendar">
    - <xsl:choose>
    - <xsl:when test="@top='true'">
    - <xsl:variable name="Frame1">
    <xsl:value-of select="frame[1]" />
    </xsl:variable>
    - <xsl:variable name="Frame2">
    <xsl:value-of select="frame[2]" />
    </xsl:variable>
    - <xsl:variable name="Frame3">
    <xsl:value-of select="frame[3]" />
    </xsl:variable>
    - <xsl:variable name="tab_value">
    <xsl:value-of select="@tab" />
    </xsl:variable>
    - <HTML>
    - <HEAD>
    <xsl:call-template name="contextJavascript" />
    <TITLE>Calendars Search: Calendar Express - iPlanet</TITLE>
    </HEAD>
    - <FRAMESET border="0" frameborder="0" rows="77,*,71">
    <FRAME name="tab" marginheight="0" marginwidth="0" scrolling="no"
    scrollbars="no" src="{$Frame1}" />
    <FRAME name="main" frameborder="0" src="{$Frame2}" />
    <FRAME name="button" marginheight="0" marginwidth="0" scrolling="no"
    scrollbars="no" frameborder="0" src="{$Frame3}" />
    </FRAMESET>
    </HTML>
    </xsl:when>
    - <xsl:when test="@view='searchProperties'">
    - <xsl:for-each select="group">
    - <xsl:if test="@name='searchProperties'">
    <xsl:call-template name="search_toolbar" />
    </xsl:if>
    </xsl:for-each>
    </xsl:when>
    - <xsl:when test="@view='main'">
    - <xsl:for-each select="group">
    - <xsl:if test="@name='main'">
    <xsl:call-template name="main" />
    </xsl:if>
    </xsl:for-each>
    </xsl:when>
    - <xsl:when test="@view='button'">
    - <xsl:for-each select="group">
    - <xsl:if test="@name='button'">
    <xsl:call-template name="button_root" />
    </xsl:if>
    </xsl:for-each>
    </xsl:when>
    - <xsl:otherwise>
    - <html>
    What's this view? (search_for_cals.xsl) -
    <xsl:value-of select="@view" />
    </html>
    </xsl:otherwise>
    </xsl:choose>
    </xsl:template>
    - <xsl:template name="search_toolbar">
    - <HTML>
    <xsl:call-template name="emit_frame_head_tag" />
    - <BODY bgcolor="{$bgcolor_background}" background="imx/tdbg.gif"
    marginwidth="0" marginheight="0" onload="window.focus()">
    - <FORM>
    - <xsl:attribute name="action">
    <xsl:value-of select="./formdata@action" />
    </xsl:attribute>
    <xsl:attribute name="name">form</xsl:attribute>
    <xsl:attribute name="onSubmit">document.forms[0]['find'].click(); return false;
    </xsl:attribute>
    <xsl:apply-templates select="formdata" />
    - <CENTER>
    - <TABLE border="0" cellpadding="2" cellspacing="0" width="100%" height="100%">
    - <TR>
    - <TD align="center">
    - <TABLE border="0" cellpadding="3" cellspacing="1">
    - <TR>
    - <TD colspan="4">
    <FONT size="{$font_size_big_2}" face="{$font_name}">Find all calendars where
    the calendar</FONT>
    </TD>
    </TR>
    - <TR>
    - <TD valign="baseline">
    - <FONT size="{$font_size_big_2}" face="{$font_name}">
    - <SELECT name="which">
    <OPTION value="name;calid">name or ID</OPTION>
    <OPTION value="name">name</OPTION>
    <OPTION value="primaryOwner">primary owner</OPTION>
    <OPTION value="calid">ID</OPTION>
    </SELECT>
    </FONT>
    </TD>
    - <TD valign="baseline">
    - <FONT size="{$font_size_big_2}" face="{$font_name}">
    - <SELECT name="how">
    <OPTION value="0">contains</OPTION>
    <OPTION value="1">begins with</OPTION>
    </SELECT>
    </FONT>
    </TD>
    - <TD valign="baseline">
    <INPUT type="text" name="what" />
    </TD>
    - <TD valign="baseline">
    - <FONT size="{$font_size_big_2}" face="{$font_name}">
    - <INPUT type="button" name="find" value="Find">
    - <xsl:attribute name="onClick">
    <xsl:value-of select="./button[@name='find']" />
    </xsl:attribute>
    </INPUT>
    </FONT>
    </TD>
    </TR>
    </TABLE>
    </TD>
    </TR>
    </TABLE>
    </CENTER>
    </FORM>
    </BODY>
    </HTML>
    </xsl:template>
    - <xsl:template name="main">
    - <HTML>
    <xsl:call-template name="emit_frame_head_tag" />
    - <BODY bgcolor="{$bgcolor_background}" background="imx/tdbg.gif"
    marginwidth="0" marginheight="0">
    - <FORM name="form" method="post">
    - <xsl:attribute name="action">
    <xsl:value-of select="./formdata@action" />
    </xsl:attribute>
    <xsl:attribute name="name">form</xsl:attribute>
    <xsl:apply-templates select="formdata" />
    <INPUT type="hidden" name="how" value="0" />
    <INPUT type="hidden" name="which" value="name;calid" />
    <INPUT type="hidden" name="what" value=" />
    <INPUT type="hidden" name="selectedGroup" />
    - <xsl:if test="(./calsearchresults/nomatch)">
    - <!-- print no match found
    -->
    &#38;nbsp;
    &#38;nbsp;
    No Match Found
    </xsl:if>
    - <xsl:for-each select="./calsearchresults/searchresultcal">
    - <P>
    &#38;nbsp;
    &#38;nbsp;
    - <FONT size="{$font_size_big_2}" face="{$font_name}">
    - <FONT size="{$font_size_big}" face="{$font_name}">
    Owner:
    <xsl:value-of select="@owner" />
    <FONT size="{$font_size_big}" face="{$font_name}" color="{$bgcolor_wend_mid}">|
    </FONT>
    Calendar ID:
    <xsl:value-of select="@id" />
    <BR />
    </FONT>
    - <FONT size="{$font_size_big_2}" face="{$font_name}">
    - <xsl:choose>
    - <xsl:when test="@subscribed='false'">
    &#38;nbsp;
    &#38;nbsp;
    - <INPUT type="checkbox" name="calendar">
    - <xsl:attribute name="value">
    <xsl:value-of select="@name" />
    </xsl:attribute>
    </INPUT>
    &#38;nbsp;
    &#38;nbsp;
    - <A target="_blank">
    - <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand" />
    </xsl:attribute>
    <xsl:value-of select="@name" />
    </A>
    </xsl:when>
    - <xsl:otherwise>
    &#38;nbsp;
    &#38;nbsp;
    - <A target="_blank">
    - <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand" />
    </xsl:attribute>
    <xsl:value-of select="@name" />
    </A>
    &#38;nbsp;
    (Subscribed)
    </xsl:otherwise>
    </xsl:choose>
    - <xsl:if test="string-length(@description) > 0">
    &#38;nbsp;
    &#38;nbsp;
    - <FONT size="{$font_size_big}" face="{$font_name}">
    <xsl:value-of select="@description" />
    </FONT>
    </xsl:if>
    </FONT>
    </FONT>
    </P>
    </xsl:for-each>
    </FORM>
    </BODY>
    </HTML>
    </xsl:template>
    </xsl:stylesheet>
    <P>
    <A HREF="#back">Back</A>
    <P>
    <HR>
    </A>
    <B>diffctx.txt</B>
    Index: search_for_calendars_common.xsl
    ===================================================================
    RCS file: /m/src/ns/server/msg/calendar/core/html/search_for_calendars_common.xsl,v
    retrieving revision 1.1.2.14
    diff -c -r1.1.2.14 search_for_calendars_common.xsl
    *** search_for_calendars_common.xsl 2000/12/12 23:10:43 1.1.2.14
    --- search_for_calendars_common.xsl 2001/03/15 23:55:19
    *** 182,188 ****
    &#38;nbsp; &#38;nbsp;
    <INPUT type="checkbox" name="calendar">
    <xsl:attribute name="value">
    ! <xsl:value-of select="@id"/>
    </xsl:attribute>
    </INPUT>
    &#38;nbsp; &#38;nbsp;
    --- 182,188 ----
    &#38;nbsp; &#38;nbsp;
    <INPUT type="checkbox" name="calendar">
    <xsl:attribute name="value">
    ! <xsl:value-of select="@name"/>
    </xsl:attribute>
    </INPUT>
    &#38;nbsp; &#38;nbsp;
    *** 190,196 ****
    <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand"/>
    </xsl:attribute>
    ! <xsl:value-of select="@id"/>
    </A>
    </xsl:when>
    <xsl:otherwise>
    --- 190,196 ----
    <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand"/>
    </xsl:attribute>
    ! <xsl:value-of select="@name"/>
    </A>
    </xsl:when>
    <xsl:otherwise>
    *** 199,205 ****
    <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand"/>
    </xsl:attribute>
    ! <xsl:value-of select="@id"/>
    </A>
    &#38;nbsp;(Subscribed)
    </xsl:otherwise>
    --- 199,205 ----
    <xsl:attribute name="href">
    <xsl:value-of select="@viewCommand"/>
    </xsl:attribute>
    ! <xsl:value-of select="@name"/>
    </A>
    &#38;nbsp;(Subscribed)
    </xsl:otherwise>
    <P>
    <A HREF="#back">Back</A>

    Maybe on the Google API s page?

  • How do you filt the "total" in Visual Composer?

    Hi everyone :
         My method is to filt the string "total" of the value of the filed .It can work ,but i think it's indirect ,so how do you filt the total in Visual Composer?
      thx
    chan

    Hi Zegion,
    Some help links for visual composer,
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c6b2d590-0201-0010-42ba-a53a5d422310
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7d48d999-0701-0010-5790-8b2c5ae7107d
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1752b737-0401-0010-0ba3-87c3eda8c6ce
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cab252d4-0a01-0010-3984-ee345859dde6
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/01c5d690-0201-0010-668a-b8d97d51a566
    for How to Guides - Visual Composer.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/16244247-0a01-0010-3294-d81c21e7e86e
    Regards
    Prakash

  • Distributed forms, how do you filter duplicate data?

    When using Distributed forms, how do you filter the returning data for when someone submits the form twice with a minor change?  Example, they submit the form with a mailing address and typed the city name wrong, then they resubmitted with the corrected name.  The "Response" window shows as 2 separate entries.
    Any help will be greatly appreciated. Information about returning distributed data is very hard to find... Thanks.

    I found the issue. There is an issue in BI 7.0.
    The following needs to be applied.
    OSS Note 1062214 - Errors with direct input in web variable screen

  • How do you email poll results?

    How do you email poll results?

    sorry about the typo error on the p.s
    i have attached my vi with an excel file with my measurements i am talking about.the first column goes from segment 1-35 while the second column goes from 1-42.
    i want to compare these 2 columns on the same time axis
    Attachments:
    segment analysis.xls ‏24 KB
    Testing Cepstrum Algo.vi.vi ‏201 KB

  • Filter search results and create search pages in a intranet site.

    HI
    i created a search service application in a intranet portal.
    and i configured content source as this site.
    and here after i need two things.
    1) how to create a search box in each page of this intranet site
    2) how filter search when any user search it only bring in search results 
    related query item contet, any related files like: words,pdf etc
    not bring list and list items where these files saved.
    this intranet portal is publishing template.
    adil

    You need to be a bit more specific about your requirement and your environment. What kind of functionality does your  search need? Are you using enterprise search or FAST?
    1) Your sites should already include default search boxes at the top right corner.  If you need a search web part, you will need to create a web part page and add the search box or advanced search box (need a search center for advanced) onto the web
    part page. If you need to change the default search box layout on all pages, you can do that by editing the master pages.
    2) Are you asking for a specific query to be included in every search? You can can add a default appendded query using the search box web part properties. If you want to just have certain keywords show up at the top, you
    can set up Keyword Best Bets. For the filtering, you will need to use scopes. You can set the scope rules to include/exclude specific sites, folders, content sources or property queries. If you're using FAST, you will need to set the scopes
    up in the FAST Query app, not the FAST content app.
    You can create keyword best bets, scopes and change the search settings for the site collection by going to Root Site Settings > Site Collection Administration > Search Settings. Hope this helps. Again, we need more info to provide a more specific
    solution.

  • How can I play search results on iPhone 5?

    Let's say I want to listen to all my songs called "Summertime" with the iPod app of my iPhone.  I go to "Songs" and search for "summertime".  I get a list of results.  But if I tap to play, it only plays one song.  I want to play the whole search results.
    (Tapping "next" will only jump to the next song  in the global index, or on the same album -- not in the search results).
    Note that iTunes does this just fine: you can filter and play.
    I don't want to create a playlist each time I am searching for a few songs.
    Thanks for any suggestion!

    Are you asking how to stop the preview from showing on the screen? Settings>Notifications>Messages

  • How to display the search result without reloading the whole page

    HI,
    I have separate fragments for Search Box to enter keyword and Search Result to display the result. Also I have different sections within the page to put these fragments. So how could I display the results without reloading the whole page.
    Also if I have next button in my search result area, how could I display the search results in next page without reloading all other sections present in our page. Please let me know if any service or idoc function present such that result could be shown in search result section without reloading whole page.
    Please let me know how to restrict page reload for every action within a page.
    Thanks,
    Ramesh
    Edited by: Ramesh_Est on May 27, 2010 3:14 AM
    Edited by: Ramesh_Est on May 27, 2010 8:39 PM

    This is default behaviour of the template of your space. You can create a new page template and than you can create a region for the search results.
    Or you can create a custom taskflow were you use the webcenter taskflows to search for the space.
    Take a look at this white paper:
    Extending webcenter spaces: http://www.oracle.com/technology/products/webcenter/pdf/owcs_r11_extend_spaces_wp.pdf
    and this one:
    Customizing site templates: http://www.oracle.com/technology/products/webcenter/pdf/owcs_ps1_site_template_wp.pdf
    Edited by: Yannick.O on 13-Apr-2010 02:32

  • How To Eliminate Separate Search Results Window in iTunes 11

    From my perspective (based upon how I use iTunes to create playlistsby searching for titles, listening, and selecting), the new format in iTunes 11 of showing search results in a separate window was totally unworkable. Fortunately, I found a CNET article that said how to revert to the old method.  To disable the new format, and have search results show up in the body of your music library, all you need to do is this:
    Click on the magnifying glass in the Search box in the uppper right corner of the iTunes screen
    The first item in there is "Search Entire Library", and has a check mark next to it
    Click on it to remove the check mark
    That's it!  Now your Search results will show up in the library itself, as it always has. 
    Until I found this quick fix, I was ready to trash the new iTunes and replace it

    I found this article with the explanation on how to find this again.  In the upper right corner of itunes (only when an item is downloading) you will see a downward facing arrow inside a gray circle with a blue status bar type line below it.  If you click that it will show you your downloads progress.
    Link: http://www.cultofmac.com/204589/find-the-download-manager-again-in-itunes-11-os- x-tips/

  • When searching a PDF, how do I get search results to  appear as yellow highlights rather than a blue box?

    I am using Adobe Reader 11. I am having a problem with searching PDF documents. In the past the search results were highlighted in yellow. Now I occasionally get a large blue box on the left side of the document that covers several lines and it is very difficult to find the word being searched. I am told that this is caused by the program that created the PDF and there is nothing I can do to change process so that all of the search results are shown in yellow highlights. Any suggestions for how to change the search options so that the results are shown in yellow highlights?

    As far as I remember that's how Reader always worked, and it's not related to the way the PDF file was created.
    Are you sure you were using Reader before?

  • How to customise OID search results page

    How do you customise the user search results page in OID 902?
    The default is for the username and email address to display. I wish the first and last names also to display.
    Regards,
    John

    I am also looking to customize the people portlet. I have raised a TAR with Oracle. If I get a repsonse I will post it here.

  • OIM: How to change user search results table?

    Hello,
    My customer wants to change the search results table to add/delete columns or move around the existing columns. Is there a way to configure or customize this? If so how? Please let me know.
    Thanks

    This jsp uses the table generator.jsp which shows the data in the form of table. You have to make your own action class to do this after extending their class (provided by oracle) tcSearchUserAction.java and you can show data as per your client requirement.

Maybe you are looking for

  • Mini displayport to VGA + Samsung CRT

    I have a brand new 15'' MacBook Pro and an old Samsung 19'' CRT Display. I tried connecting them using the Apple Mini Displayport to VGA adapter but it looks like the monitor is not receiving any signal. I tried "Detect displays" in System preference

  • Broadcast a BW 7.0 query with BW 3.5 broadcaster?

    Hi Folks, is there a trick that allows to broadcast a BW 7.0 query with the BW 3.5 broadcaster? On the precal server BEX 3.5 / 7.0 is installed so in theory there shouldn't be an issue. But in the BW 3.5 broadcaster I don't see BEX 7.0 queries as all

  • Ipod to TV, Is there a way to get picture quality ?

    I have the dock and av cables. I played a video that was downloaded from itunes. The picture is distorted. Does anyone know how to get better picture quality?

  • 5800. GPS getting right and left wrong

    Bizarre as this these seem  my Nokia 5800 Music express GPS  has on occasions told me to turn left when it means right and the map is showing right turn and visa versa. Has anyone else that this problem and is there any fix?

  • How to automatically swap R,G,B channels on a folder full of images

    How to automate a Harris Shutter like effect to quickly apply to a few hundred images? Essentially for each finished image, I want to take the R, G, B channels from three different images. I want to do this with a folder full of images. From image #1