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

Trunk 2472 #313

Merged
merged 1 commit into from Oct 4, 2013
Merged

Trunk 2472 #313

merged 1 commit into from Oct 4, 2013

Conversation

WolfSchlegel
Copy link
Contributor

Implemented searching people by searchable attributes.

* @should get no one by voided attribute
* @should get one person by attribute
* @should get one person by random case attribute
* @should get one person by attribute and voided attribute
Copy link
Member

Choose a reason for hiding this comment

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

I think if an attribute is voided, then you shouldn't match against it, in OpenMRS voided is the same as deleted from the user's stand point, we just don't want to purge it from the DB for audit/history reasons

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The naming of the test description is wrong. The actual test asserts that a person can be found by using a non-voided and a voided attribute as search criteria. There are other tests which assert that searching for voided attributes only do not return the respective person.

I rephrase the @should to express the intention of the test in a better way.

dkayiwa added a commit that referenced this pull request Oct 4, 2013
@dkayiwa dkayiwa merged commit cc0c560 into openmrs:master Oct 4, 2013
RandilaP pushed a commit to RandilaP/openmrs-core that referenced this pull request Jul 31, 2023
* Added offline actions patient chart widget.

* Prettier and translations.

* Enhance offline sync API with members to support triggering edit flows for queued items.
Added documentation to (most) exported sync API members.

* Support invoking edit offline action flow within the offline actions table.

* Don't export the internal SyncHandler.

* Pin @jsenv/file-size-impact.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants