Skip to content
This repository has been archived by the owner on Oct 8, 2020. It is now read-only.

Add in Case URL parameters #421

Merged
merged 5 commits into from
Apr 17, 2020
Merged

Conversation

seamuslee001
Copy link
Collaborator

This expands the documentation on search url support to include the case urls for support

@seamuslee001
Copy link
Collaborator Author

ping @eileenmcnaughton @demeritcowboy

@eileenmcnaughton
Copy link
Contributor

cool

@homotechsual
Copy link
Contributor

I think I might do some refactoring at this point to split this now so that it's sectioned for the different types of parameters for various searches - including generic params - how does that sound?

@seamuslee001
Copy link
Collaborator Author

👍 with me Mikey

@demeritcowboy
Copy link
Contributor

Is the case_id= one a valid parameter? I didn't know that was available and it doesn't seem to work for me.

@eileenmcnaughton
Copy link
Contributor

I've just confirmed the following work on grant (which means from, to, other relative will work)

grant_application_received_date_relative=previous.day
grant_decision_date_relative=previous.day
grant_money_transfer_date=this.day
grant_due_date_relative=previous.day

Also
grant_report_received=1 (but not grant_report_received=0) - we don't have many bool fields working - this one looks a little experimental

@homotechsual
Copy link
Contributor

Do we feel this is merge ready at this stage?

@demeritcowboy
Copy link
Contributor

The examples given for start/end date high and low don't work as written. They either need an extra 00 or remove the time component. Otherwise they all still seem to be working.

|case_end_date_high|case_end_date_high=201901010000|Case End Date on or before 1 January 2019|5.21 [PR](https://github.com/civicrm/civicrm-core/pull/15920)|
|case_end_date_low|case_end_date_low=201901010000|Case End Date on or after 1 January 2019|5.21 [PR](https://github.com/civicrm/civicrm-core/pull/15920)|
|case_end_date_relative|case_end_date_relative=this.year|Case End Date on or after the start of this year and on or before the end of the calendar year|5.21 [PR](https://github.com/civicrm/civicrm-core/pull/15920)|
|case_type_id|case_type_id=1,2|Case Type in Housing Support and Adult Care Support|5.21 [PR](https://github.com/civicrm/civicrm-core/pull/15920)|
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just noticed this should be OR in line 44 instead of AND. Actually should be either "Case Type is one of Housing or Adult Care Support" or "Case Type IN ('Housing Support','Adult Care Support')"

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@seamuslee001 can you address this?

@homotechsual homotechsual merged commit 2c1ac4a into civicrm:master Apr 17, 2020
@demeritcowboy
Copy link
Contributor

Hi @MikeyMJCO. Me again. Is this one also stuck in the cache like the one from the other day? It doesn't appear to be live?

@homotechsual
Copy link
Contributor

Yes :-( I need to fix this annoying bug!

@homotechsual
Copy link
Contributor

Should be fixed!

@demeritcowboy
Copy link
Contributor

Thanks!

@homotechsual
Copy link
Contributor

Now I need to find out why it won't clear the caches properly when publishing!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants