Problem/Motivation

Not sure if this is related to our local installation, but I could also reproduce it in a vanilla OpenCulturas 2.1 installation:
The reset button seems to do nothing.

Steps to reproduce

  • Add an OpenCulturas Map block to a page
  • Choose dates
  • Open that page and select some filters
  • Hit the reset button

Expected result: all filters are reset
Actual result: nothing happens.

Fun fact: when I deselect the option "Always show reset button" in the BEF settings (since it doesn't really make sense to show it unless filters are applied), the reset button never appears.

CommentFileSizeAuthor
#2 3449632-map_reset_button.patch913 bytesmrshowerman

Comments

mrshowerman created an issue. See original summary.

mrshowerman’s picture

Status: Active » Needs review
StatusFileSize
new913 bytes

Found it: the ID of the reset button is hardcoded to something that might not match (it doesn't in our case).
Attached patch tries to be a bit more flexible about the ID.

  • tobiasb committed 4de42be4 on 2.1.x
    Issue #3449632: Reset button does not work
    

  • tobiasb committed af5efc20 on 2.2.x
    Issue #3449632: Reset button does not work
    
tobiasb’s picture

Status: Needs review » Fixed

Patch applied.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.