Ticket #7871 (closed: fixed)
ICAT Independent search controls
Reported by: | Jay Rainey | Owned by: | Jay Rainey |
---|---|---|---|
Priority: | major | Milestone: | Release 3.0 |
Component: | Framework | Keywords: | ICAT4, ICAT |
Cc: | Blocked By: | ||
Blocking: | Tester: | Nick Draper |
Description (last modified by Jay Rainey) (diff)
Owen said:
One Area that the ICat features are broken, is that there are interdependencies between seemingly independent search controls. For example, searching by run range does not seem to work unless Start date and End date are provided. I also remember having to enter both the start date and end date if I wanted to search a range of dates, but It should be possible to provide just one or the other.
To resolve this, I will ensure that if a user enters a start date ICat will search for all dates greater than this. Likewise, if they enter an end date ICat will search for anything below the end date. This has the potential to be very slow.
Change History
comment:2 Changed 7 years ago by Jay Rainey
- Status changed from new to inprogress
Start and end date independent of one another. Refs #7871.
- Had to remove check in CatalogSearch.cpp as endDate won't appear empty since it's set to the unix epox (1970-01-01 00:00:00) if user doesn't input anything.
- Simplified the query if both start and end date are selected.
Changeset: ff2f6c37f9eab2d5eacd239aa765075473f115e9
comment:3 Changed 7 years ago by Jay Rainey
- Status changed from inprogress to verify
- Resolution set to fixed
This has been solved for ICat3 in my other ticket #7639. To verify this:
- Open Mantid
- Click Catalog -> Login (Located in the top menu bar).
- Click Basic search and see if you can select a start date for a search.
I recommend that you do the above prior to testing the ticket, and verify that you cannot select a start date or end date on their own in order to view the problem.
Note: My specific changes in this ticket are ICat4 specific. To do this, change the catalog name and soapEndPoint in the Facilities.xml file to have the following:
<catalog name="ICat4Catalog"> </catalog> <soapEndPoint url="https://icatisis.esc.rl.ac.uk/ICATService/ICAT"> </soapEndPoint>
Repeat the above verification steps to verify it works correctly.
comment:5 Changed 7 years ago by Nick Draper
- Status changed from verify to verifying
- Tester set to Nick Draper