Viewing post #234681 by dave

You are viewing a single post made by dave in the thread called Proposing a change to how the parent plant feature works.
Image
Mar 30, 2012 12:27 PM CST
Garden.org Admin
Name: Dave Whitinger
Southlake, Texas (Zone 8a)
Region: Texas Seed Starter Vegetable Grower Tomato Heads Vermiculture Garden Research Contributor
Million Pollinator Garden Challenge Charter ATP Member I was one of the first 300 contributors to the plant database! Garden Ideas: Master Level Region: Ukraine Garden Sages
I'm testing this on the Solanum genus.

The following are all in the Solanum genus, and are parent plants:

Potato:
Potatoes (Solanum tuberosum)

Tomato:
Tomatoes (Solanum lycopersicum)

Eggplant:
Eggplants (Solanum melongena)

You'll notice that these are all in the same genus, and they all have a specific species. They each have child plants that have inherited their databoxes and common name.

Now you can see that other plants in Solanum that don't match any of the Solanum parents, are left as orphans. Example: Soda Apple (Solanum aculeastrum)

Now, I'm not going to do this, but if I add another parent plant in Solanum with no species, then all the remaining orphans would be added to that parent, and the children of the earlier three would be left alone.

I have a backup of the DB from the moment before I uploaded the code, but I'm gaining confidence in this code update. It looks like it's working well.

« Return to the thread "Proposing a change to how the parent plant feature works"
« Return to Plant Database forum
« Return to the Garden.org homepage

Member Login:

( No account? Join now! )

Today's site banner is by Zoia and is called "Charming Place Setting"

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.