Nick Jackson

Results 18 issues of Nick Jackson

Prompted by recently needing to bring a local dev copy up to date and not knowing the state of my database, use [Phinx](https://phinx.org/) to actually perform managed migrations. As part...

The Profile section of an MP's page (for example [Rachel Reeves](https://www.theyworkforyou.com/mp/24851/rachel_reeves/leeds_west#profile)) includes a link to their Wikipedia page. Given the current push for things in the Democratic Commons, would it...

```Type: Warning Message: explode(): Empty delimiter File: /data/vhost/www.theyworkforyou.com/theyworkforyou/www/includes/easyparliament/user.php Line: 1234 Source: 1232 if (strstr($token, '::')) $arg = '::'; 1233 if (strstr($token, '-')) $arg = '-'; 1234 list($user_id, $registrationtoken) = explode($arg,...

When searching for an empty string (https://www.theyworkforyou.com/search/?q=) the returned page has no useful content. ![Screenshot 2019-04-08 at 14 48 03](https://user-images.githubusercontent.com/619082/55729069-5645cb00-5a0d-11e9-8168-f2f923d9ec30.png)

Loading the TheyWorkForYou schema results in `ERROR 1071 (42000) at line 423: Specified key was too long; max key length is 767 bytes` The [MariaDB docs](https://mariadb.com/kb/en/library/innodb-system-variables/#innodb_large_prefix) suggest that `innodb_large_prefix` may...

This makes deployment and redeployment more reliable, as well as simplifying deploying and maintaining development and test environments.

medium
Backlog
code improvement

## Description There is a configuration option `$nhsuk-include-font-face` which controls if the NHS corporate font is included in the compiled CSS. In the current implementation, if this option is false...

Replaces the search box on the home page with a dropdown of counties.

4 - Awaiting Review

`countries.json` does not include a `lastmod` parameter for individual legislative periods, only the legislature as a whole. It would be useful to have this at a period level as well,...