[phpMyAdmin Developers] View pagination behavior - Is this a bug?

Michal Čihař michal at cihar.com
Mon Jan 2 15:37:01 CET 2017


Hi

Isaac Bennetch píše v Út 27. 12. 2016 v 19:27 -0500:
> When looking at a view that only has a few rows, the pagination
> arrows
> are shown (next page, last page, etc); when looking at the
> corresponding
> table, they aren't there. It is ideal if they aren't shown, but I
> don't
> know if that is possible to determine with a view.

AFAIK not, see issue tracker for related discussion:

https://github.com/phpmyadmin/phpmyadmin/issues/12334

> Also, I get the message "Current selection does not contain a unique
> column. Grid edit, Edit, Copy and Delete features may result in
> undesired behavior. " -- even though my view is based on a table that
> does contain a primary key; my view is simply `select * from tbl` and
> the table is just two columns; an autoincrement int and a varchar.
> Again, I don't know whether this is something that is a limitation of
> the view or if we can improve behavior here.

Maybe it would be better to display this is view and it can not be
edited instead of reusing the message from the tables without unique
column. Feel free to open issue for that.

-- 
	Michal Čihař | https://cihar.com/ | https://weblate.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.phpmyadmin.net/pipermail/developers/attachments/20170102/a9cb0974/attachment.sig>


More information about the Developers mailing list