Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

[FIXED] Link on Foreign Key goes to empty form not Edit 10 Feb 2012 15:43 #1227

Hi there,

I am just getting to grips with this so apologies if I have missed anything and this is not a bug ;)

What I have is two very simple tables, PUBLICATION and ISSUES

PUBLICATION has
publication_name

ISSUES has
issue_name | publication_name (this is a foreign key that shows a drop down list on the ISSUES edit form of publication names).

When I show the issue data in list view, if I show the publication ID as a link, clicking it takes me to the edit form for that publication. This is what I want to happen.

If I show the Publication Name in the issue list view, clicking the name takes me to an empty publication edit view.

I want to show the Publication name and have it link to the edit view for that publication ID.

Looking at the generated links I can see what is going wrong.

The link on the FK displayed using the publication name is:-
sandbox.cms25.j-cook.pro/administrator/i...yout=publication&cid[]=
The link on the FK displayed that uses the publication ID is :-
sandbox.cms25.j-cook.pro/administrator/i...yout=publication&cid[]=1

So you can see that one has a cid and the other does not.

Is there something I missed here or is this a bug?

Please Log in or Create an account to join the conversation.

Last edit: by admin.

Re: Link on Foreign Key goes to empty form not Edit 15 Feb 2012 16:45 #1324

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Solved since 1.4.9
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.333 seconds

Les générateurs de code je les connais presque tous pour les avoir essorés en long en large et en travers ... mais celui ci c'est vraiment un outil formidable de simplicité et d'efficacité !
Marc. (liubov - Forum)

Get Started