Skip to content
This repository has been archived by the owner on Jun 18, 2019. It is now read-only.

Solving the issue of empty attribute values #410

Merged
merged 1 commit into from
Jan 4, 2018

Conversation

saidbakr
Copy link
Contributor

@saidbakr saidbakr commented Oct 9, 2017

When the model_translations table is empty or the related key from the models table is not assigned yet, i.e not translated, the original attribute value is returned as null so there is no text! This is a proposed solution for that issue.

When the `model_translations` table is empty or the related key from the `models` table is not assigned yet, i.e not translated, the original attribute value is returned as `null` so there is no text! This is a proposed solution for that issue.
@drbyte
Copy link

drbyte commented Oct 9, 2017

Another tip:
If you add "Fixes #409" or "Closes #409" in your Pull Request, it will automatically close the related Issue ticket when the Pull Request is merged. One less step for you or maintainers to manage. ;)

@dimsav
Copy link
Owner

dimsav commented Jan 4, 2018

I want to merge this but we need tests.

I added a test. Thanks!

@dimsav dimsav merged commit 1ab239b into dimsav:master Jan 4, 2018
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.

3 participants