Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the CollectiveAccess support forum! Here the developers and community answer questions related to use of the software. Please include the following information in every new issue posted here:

  1. Version of the software that is used, along with browser and version

  2. If the issue pertains to Providence, Pawtucket or both

  3. What steps you’ve taken to try to resolve the issue

  4. Screenshots demonstrating the issue

  5. The relevant sections of your installation profile or configuration including the codes and settings defined for your local elements.

If your question pertains to data import or export, please also include:

  1. Data sample

  2. Your mapping

Answers may be delayed for posts that do not include sufficient information.

Change Sort Criteria for Objects Output in a Collection

Hi — In Pawtucket 2, when outputting objects in a collection (the jQuery in ca_collections_default_html.php to browse_results_images_html.php) is there a way have the objects sort themselves by object attribute, let’s say rather than id number as seems to the default, ca_objects.idno? Thanks!


  • Hi rsteinert,

    The sort options are configurable in browse.conf, you can sort by any attribute you wish. The first value listed will be the default sort value.

  • edited November 2018

    Hi Sophie, Thank you for getting back to me. I tried adjusting the value there, but the adjustment didn't seem to have an effect. I ended up adding a Jquery sort by attribute functionality to browse_results_images_html.php, adding the date of the object as an attribute of the search results div in the search by collection output, $vs_result_output.

    This works in sorting my objects by date within collections, but I feel a bit badly as I might be bypassing a feature already in the code by doing this.

Sign In or Register to comment.