Angular staff catalog pub date range missing in advanced search

Bug #1909593 reported by Janet Schrader
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Evergreen
Confirmed
Undecided
Unassigned

Bug Description

In release 3.6.1 on the advanced search screen when you choose the option to search a range of publication dates "between" two years, there is no 'and' and no second box to enter the other end of the date range.

In release 3.2.8, when you choose "between" there are boxes for entering the beginning and end of the pub date range separated by the word 'and'.

Revision history for this message
Elaine Hardy (ehardy) wrote :

I see a second box to enter a year in a between search in 3.6.1

Revision history for this message
Elaine Hardy (ehardy) wrote :

The word and is missing, though

Revision history for this message
Christine Morgan (cmorgan-z) wrote :

Testing in 3.5.1, the second box does appear when choosing "between." Confirming that the second box does not display in 3.6.1.

Changed in evergreen:
status: New → Confirmed
Revision history for this message
Janet Schrader (jschrader) wrote :

I think it depends on which advanced search screen you are using. The one that's the traditional catalog (or what looks like our 3.2 version) is missing the second box. I got to this in various ways and, since just starting out testing 3.6, can be easily confused as to whether is angular or traditional.

Revision history for this message
Elaine Hardy (ehardy) wrote :

I see it in both. Attaching screenshots

Revision history for this message
Elaine Hardy (ehardy) wrote :
  • bug 1909593.docx Edit (210.8 KiB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)

I see it in both. Attaching screenshots

Revision history for this message
Janet Schrader (jschrader) wrote :

I think it depends on where you start. This could be our install. If I select advanced search from the splash screen/homepage I do not have the two boxes for the date range. If I select from the Cataloging drop-down menu I have the angular staff catalog with the date range boxes.

The same is true for me with Vandelay where the home screen has the "old traditional" loader and from the cataloging drop-down menu, the angular staff client loader.

Here are screenshots of the two advanced search screens I have in 3.6.1.

Revision history for this message
Christine Morgan (cmorgan-z) wrote :

Looking at our 3.6.1 test server, and looking at the Advanced Search screens in the three different catalogs (Traditional client and public, Angular staff, and Bootstrap), the Angular and Bootstrap catalogs have the second input box. The second input box is missing in the Traditional catalog. This is an issue for those not immediately switching to the Bootstrap catalog.

Revision history for this message
Beth Willis (willis-a) wrote :

I am seeing the same thing that Janet reported. I started at the Cataloging menu and selected Search the Catalog (Traditional). I see only one box when choosing to search BETWEEN publication dates.

Revision history for this message
Elaine Hardy (ehardy) wrote :

We configured on our test server so that all links in the staff client lead to the angular catalog except for the link to "traditional" catalog in the cataloging drop down menu. That traditional catalog link it to the bootstrap, so we don't have the existing catalog format linked anywhere in our test server for 3.6.1. Which is why I see the box in all the places I can access the advanced search screen.

Revision history for this message
Jason Boyer (jboyer) wrote :

This sounds vaguely familiar to an issue I've seen in the past. Christine, Janet, and Beth: do you happen to have want_jquery enabled in the TPAC's config.tt2? Last I knew there was an issue with the JS that the Published Date dropdown uses that specifically breaks the Between option.

If disabling that option fixes the issue then there is already a bug filed against that (somewhere...) but if not then this may be a new problem.

Jason

Revision history for this message
Janet Schrader (jschrader) wrote :

Jason-I can't answer that question. For us it will have to wait until next week when someone can review the code.
Janet

Revision history for this message
Christine Morgan (cmorgan-z) wrote :

Hi Jason. We have want_jquery disabled in config.tt2 so this appears to be a new problem. I see an error error in the console when I select "between."

Uncaught ReferenceError: $ is not defined
    at HTMLSelectElement.onchange

Revision history for this message
Suzanne Paterno (paterno) wrote :

The function $ was deprecated a few Evergreen versions back. The new function is called "get". Updating the hideMe and unHideMe calls in /templates/opac/parts/advanced/search.tt2 to use "get" will fix this problem.

tags: removed: webstaffclient
tags: added: search
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.