Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Since the sopac_prev_search_url() function was being inconsistently called with either the $override parameter or not, the return to search url sometimes simply linked to the current page. This patch fixes that, and also drastically simplifies the function. It also updates the templates to use the l() and t() functions where this url was being used.
Comment | File | Size | Author |
---|---|---|---|
#1 | sopac.1072110-1.patch | 2.45 KB | jhedstrom |
sopac.saved_search.patch | 2.13 KB | jhedstrom |
Comments
Comment #1
jhedstromAn updated patch since passing urls into the l() function that start with a '/' results in broken links. This patch stores the drupal path rather than the REQUEST_URI into the session.