Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] Link on Foreign Key goes to empty form not Edit

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

  • davidosullivan
  • davidosullivan's Avatar
  • Offline
  • New Member
  • Posts: 11
  • Thank you received: 1
  • Karma: -3
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?
Last Edit: 15 Feb 2012 16:52 by admin.
The administrator has disabled public write access.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Solved since 1.4.9
Coding is now a piece of cake
The administrator has disabled public write access.
Time to create page: 0.060 seconds

Get Started