Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev/core#561 Remove last free jcalendar #14150

Merged
merged 1 commit into from
Apr 27, 2019

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

This is the last jcalendar outside of buildDateRange instances.

It turns out to be 'just a form' and pretty straight forward

Before

jcalendar

After

datepicker - no user change

Screenshot 2019-04-27 19 33 07

Technical Details

Comments

@civibot
Copy link

civibot bot commented Apr 27, 2019

(Standard links)

@civibot civibot bot added the master label Apr 27, 2019
@eileenmcnaughton
Copy link
Contributor Author

test this please


//campaign end date.
$this->addDate('end_date', ts('To'), FALSE, ['formatType' => 'searchDate']);
$this->add('datepicker', 'start_date', ts('From'), [], FALSE, ['time' => FALSE]);
Copy link
Contributor

Choose a reason for hiding this comment

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

@eileenmcnaughton this works but just wondering if we should put something like Start Date From as the label and a la the end_date as at the moment its not obvious what field your filtering

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@seamuslee001 OK - I checked the xm & it uses Campaign Start Date so using that - I can't be bothered switching to addField for this last obscure form but for the search range ones on the search forms we should do it properly (like we did for activity & grant)

This is the last jcalendar outside of buildDateRange instances.

It turns out to be 'just a form' and pretty straight forward
@seamuslee001
Copy link
Contributor

(CiviCRM Review Template WORD-1.2)

  • General standards
    • (r-explain) Pass
    • (r-user) Pass no change for the user
    • (r-doc) Pass
    • (r-run) Pass tested this and confirmed the fields still filter as expected
  • Developer standards

@seamuslee001 seamuslee001 merged commit 44e8c4b into civicrm:master Apr 27, 2019
@seamuslee001 seamuslee001 deleted the last_free_jcal branch April 27, 2019 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants