# Reference linking bug

**URL:** <https://forum.wixstudio.com/t/reference-linking-bug/8209>\
**Category:** Ask the community\
**Tags:** code, question\
**Created:** [September 7, 2018, 2:13pm UTC](https://forum.wixstudio.com/t/reference-linking-bug/8209 "2018-09-07T14:13:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![joelbarmettler](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/joelbarmettler/32/6211_2.png) [@joelbarmettler](https://forum.wixstudio.com/u/joelbarmettler)\
**Post date:** [September 7, 2018, 2:13pm UTC](https://forum.wixstudio.com/t/reference-linking-bug/8209/1 "2018-09-07T14:13:48Z")

</div>

Hy

I think I encountered a Bug where Wix Code does not let me chose button-links to all references of a certain type, but only to the first one.

I currently have the following Setup: There is a Database called “Product” which contains Product Information. There is another Database called “Ingredients”, filled with information about ingredients. Now, every Products has 4 main ingredients. Therefore, the Products database has rows “Ingredient-1”, “Ingredient-2”, “Ingredient-3” and “Ingredient-4” with each being a reference to an ingredient.

On the Product page, I want to link all of those 4 ingredients, so there’s a Button for Ingredient-1, 2 etc. When trying to connect the button to the dynamic ingredients page, I am only able to connect to the Ingredient-1 dynamic page. Ingredient 2 - 4 are not available for linking, even though all the fields are exactly the same.

Here’s a screenshot of me trying to connect the button on the “product” page to the ingredients.

 ![](https://us1.discourse-cdn.com/wix/original/3X/3/1/314f9b9748f54e1b4337dbd2fb701de89079efb3.png)  
Here is a subset of the products database. The problem is not related to “2\_potato” in any way, exchanging it does not help.

 ![](https://us1.discourse-cdn.com/wix/original/3X/1/e/1ee2446aeccf8f7f00b7f0e0a4d65012034ebc61.png)  
Am I missing something or is this a Wix Code bug?

Any help would be much appreciated 🙂
